1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Fix installing PHP extensions as non-root user.

PR:		ports/100541
Submitted by:	Steffen M. Boelaars <boelaars@flatrock.eu>
This commit is contained in:
Alex Dupre 2006-07-27 06:21:15 +00:00
parent 1e4ef04d57
commit 65037f1515
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168854

View File

@ -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\" \