diff options
author | ale <ale@FreeBSD.org> | 2006-07-27 14:21:15 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2006-07-27 14:21:15 +0800 |
commit | 6255e5ae999df92683595b465cb56d5dc49f3654 (patch) | |
tree | 1b9f9bc009ed7be1426b8969640108bf1ded9257 | |
parent | 1b15148e67ab1aa1d40f7b1e4b0a4d69f8d093f3 (diff) | |
download | freebsd-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.mk | 1 |
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\" \ |