aboutsummaryrefslogtreecommitdiff
path: root/lang/php56
diff options
context:
space:
mode:
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)