summaryrefslogtreecommitdiff
path: root/www/mod_php3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php3/Makefile')
-rw-r--r--www/mod_php3/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile
index 3c761ab92a21..e77ce88a51f3 100644
--- a/www/mod_php3/Makefile
+++ b/www/mod_php3/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= mod_php3
PORTVERSION= 3.0.18
-PORTREVISION= 2
+PORTREVISION?= 2
CATEGORIES?= www
MASTER_SITES= ftp://ftp.php.net/pub/${PHP_DISTDIR}/ \
http://us.php.net/${PHP_DISTDIR}/ \
@@ -39,7 +39,8 @@ IS_INTERACTIVE= yes
.endif
.if defined(STANDALONE)
-CONFIGURE_ARGS= --with-config-file-path=${PREFIX}/etc/php.standalone
+CONFIGURE_ARGS= --with-config-file-path=${PREFIX}/etc/php.standalone \
+ --enable-discard-path
.else
CONFIGURE_ARGS= --with-apxs=${PREFIX}/sbin/apxs \
--with-config-file-path=${PREFIX}/etc