From ed2da8c8846922e3e185b8ac5cecad1a2bb5a382 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Mon, 19 Jul 2004 22:12:09 +0000 Subject: Comment extension_dir in sample php.ini's, since many copy the sample configuration file blindly and then complain about wrong directory. PHP has the correct path compiled in statically. --- lang/php4/Makefile | 1 + lang/php5/Makefile | 1 + lang/php53/Makefile | 1 + 3 files changed, 3 insertions(+) (limited to 'lang') diff --git a/lang/php4/Makefile b/lang/php4/Makefile index ec0728682ea9..f66f3cce3276 100644 --- a/lang/php4/Makefile +++ b/lang/php4/Makefile @@ -165,6 +165,7 @@ PHP_PORT= ${.CURDIR:S|^${_PORTSDIR}||:S|^/||} post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h + @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* .if ${PHP_SAPI} == "full" pre-configure: diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 9798ba3f6972..a9b6c5d4c999 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -170,6 +170,7 @@ PHP_PORT= ${.CURDIR:S|^${_PORTSDIR}||:S|^/||} post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h + @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* .if ${PHP_SAPI} == "full" pre-configure: diff --git a/lang/php53/Makefile b/lang/php53/Makefile index 9798ba3f6972..a9b6c5d4c999 100644 --- a/lang/php53/Makefile +++ b/lang/php53/Makefile @@ -170,6 +170,7 @@ PHP_PORT= ${.CURDIR:S|^${_PORTSDIR}||:S|^/||} post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h + @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* .if ${PHP_SAPI} == "full" pre-configure: -- cgit