aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2006-07-27 14:21:15 +0800
committerale <ale@FreeBSD.org>2006-07-27 14:21:15 +0800
commit6255e5ae999df92683595b465cb56d5dc49f3654 (patch)
tree1b9f9bc009ed7be1426b8969640108bf1ded9257
parent1b15148e67ab1aa1d40f7b1e4b0a4d69f8d093f3 (diff)
downloadfreebsd-ports-gnome-6255e5ae999df92683595b465cb56d5dc49f3654.tar.gz
freebsd-ports-gnome-6255e5ae999df92683595b465cb56d5dc49f3654.tar.zst
freebsd-ports-gnome-6255e5ae999df92683595b465cb56d5dc49f3654.zip
Fix installing PHP extensions as non-root user.
PR: ports/100541 Submitted by: Steffen M. Boelaars <boelaars@flatrock.eu>
-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\" \