summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/php3/Makefile1
-rw-r--r--www/mod_php3/Makefile5
2 files changed, 4 insertions, 2 deletions
diff --git a/lang/php3/Makefile b/lang/php3/Makefile
index f2b6d59d1156..237985ea4ebb 100644
--- a/lang/php3/Makefile
+++ b/lang/php3/Makefile
@@ -6,6 +6,7 @@
#
PORTNAME= php3
+PORTREVISION= 1
CATEGORIES= lang
MASTERDIR= ${.CURDIR}/../../www/mod_php3
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