aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_php3
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-09-10 19:26:49 +0800
committerdinoex <dinoex@FreeBSD.org>2002-09-10 19:26:49 +0800
commit20d061e13029e03f9e1fc4660172cbd17af49eae (patch)
treed0ed98ffd8a6188a2a45f8333e0d70a53c562008 /www/mod_php3
parentb4291a76e4cc659020f29d1cf8fbe71c2eae9045 (diff)
downloadfreebsd-ports-gnome-20d061e13029e03f9e1fc4660172cbd17af49eae.tar.gz
freebsd-ports-gnome-20d061e13029e03f9e1fc4660172cbd17af49eae.tar.zst
freebsd-ports-gnome-20d061e13029e03f9e1fc4660172cbd17af49eae.zip
support appache13-modssl by defining APACHE_PORT in /etc/make.conf
others variants of the apache ports can be used too. Approved by: dirk
Diffstat (limited to 'www/mod_php3')
-rw-r--r--www/mod_php3/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile
index 8764c5014374..1fa644893745 100644
--- a/www/mod_php3/Makefile
+++ b/www/mod_php3/Makefile
@@ -27,8 +27,8 @@ PATCHFILES= mime.c.diff-3.0.gz
MAINTAINER= dirk@FreeBSD.org
.if !defined(STANDALONE)
-BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
-RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
+BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
+RUN_DEPENDS= ${APXS}:${APACHE_PORT}
.endif
PATCH_DIST_ARGS= -d ${WRKSRC}/functions
@@ -36,6 +36,8 @@ PATCH_DIST_ARGS= -d ${WRKSRC}/functions
PHP_DISTDIR= distributions
SLAVEDIRS= lang/php3
+APACHE_PORT?= ${PORTSDIR}/www/apache13
+APXS?= ${LOCALBASE}/sbin/apxs
USE_SUBMAKE= yes
GNU_CONFIGURE= yes