summaryrefslogtreecommitdiff
path: root/Mk/bsd.php.mk
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2006-07-27 06:21:15 +0000
committerAlex Dupre <ale@FreeBSD.org>2006-07-27 06:21:15 +0000
commit65037f1515a18220f27447e4e17b084ffbfd915e (patch)
tree5607654514b76329b228b951a8f6d2138e3c8a3e /Mk/bsd.php.mk
parentUpdate to 1.3.40 (diff)
Fix installing PHP extensions as non-root user.
PR: ports/100541 Submitted by: Steffen M. Boelaars <boelaars@flatrock.eu>
Notes
Notes: svn path=/head/; revision=168854
Diffstat (limited to 'Mk/bsd.php.mk')
-rw-r--r--Mk/bsd.php.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mk/bsd.php.mk b/Mk/bsd.php.mk
index 58c409fd410f..48f97c25e861 100644
--- a/Mk/bsd.php.mk
+++ b/Mk/bsd.php.mk
@@ -169,6 +169,7 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/${header}/*.h \
${PREFIX}/include/php/ext/${PHP_MODNAME}/${header}
. endfor
+ @${RM} -f ${PREFIX}/include/php/ext/${PHP_MODNAME}/config.h
@${GREP} "#define \(COMPILE\|HAVE\|USE\)_" ${WRKSRC}/config.h \
> ${PREFIX}/include/php/ext/${PHP_MODNAME}/config.h
@${ECHO_CMD} \#include \"ext/${PHP_MODNAME}/config.h\" \