From edce81222a69f760741d5bc51a34630b33688428 Mon Sep 17 00:00:00 2001
From: Michael Heimpold <mhei@heimpold.de>
Date: Wed, 7 Sep 2016 23:19:01 +0200
Subject: [PATCH] php7-pecl-{dio,libevent}: refine build dir to avoid
 collisions with php5 package variants (refs #3149)

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
---
 lang/php7-pecl-dio/Makefile      | 2 +-
 lang/php7-pecl-libevent/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lang/php7-pecl-dio/Makefile b/lang/php7-pecl-dio/Makefile
index cbb5b2dc9..bcf32a164 100644
--- a/lang/php7-pecl-dio/Makefile
+++ b/lang/php7-pecl-dio/Makefile
@@ -16,7 +16,7 @@ PKG_NAME:=php7-pecl-$(PECL_NAME)
 PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=http://pecl.php.net/get/
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PECL_NAME)-$(PKG_VERSION)
+PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php7/$(PECL_NAME)-$(PKG_VERSION)
 PKG_BUILD_PARALLEL:=1
 
 PKG_MAINTAINER:=Michael Heimpold <mhei@heimpold.de>
diff --git a/lang/php7-pecl-libevent/Makefile b/lang/php7-pecl-libevent/Makefile
index b821ce17b..272b34a79 100644
--- a/lang/php7-pecl-libevent/Makefile
+++ b/lang/php7-pecl-libevent/Makefile
@@ -23,7 +23,7 @@ PKG_MAINTAINER:=Michael Heimpold <mhei@heimpold.de>
 PKG_LICENSE:=PHPv3.01
 PKG_LICENSE_FILES:=
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PECL_NAME)-$(PKG_SOURCE_VERSION)
+PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php7/$(PECL_NAME)-$(PKG_SOURCE_VERSION)
 PKG_BUILD_PARALLEL:=1
 
 PKG_FIXUP:=autoreconf