aboutsummaryrefslogtreecommitdiff
path: root/lang/php56
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-23 13:19:17 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-23 13:19:17 +0000
commit11ca07f4fcf2a494e34f69fa036808af4df23217 (patch)
treed7078cd69433e0e735b7b9eebd96aa16fdbd9c94 /lang/php56
parentd911a04f66e99d3f6d32c6f935925eb1e4ab4a1e (diff)
downloadports-11ca07f4fcf2a494e34f69fa036808af4df23217.tar.gz
ports-11ca07f4fcf2a494e34f69fa036808af4df23217.zip
Notes
Diffstat (limited to 'lang/php56')
-rw-r--r--lang/php56/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/php56/Makefile b/lang/php56/Makefile
index dce16584b92d..41705c1004a7 100644
--- a/lang/php56/Makefile
+++ b/lang/php56/Makefile
@@ -188,6 +188,8 @@ post-build:
@${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf
@${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf
@${ECHO_CMD} "PHP_EXT_INC=pcre spl" >> ${WRKDIR}/php.conf
+ @${ECHO_CMD} -n "PHP_EXT_DIR=" >> ${WRKDIR}/php.conf
+ @${SH} ${WRKSRC}/scripts/php-config --extension-dir | sed -ne 's,^${PREFIX}/lib/php/,,p' >> ${WRKDIR}/php.conf
test: build
@(cd ${WRKSRC} && ${MAKE} test)