summaryrefslogtreecommitdiff
path: root/www/mod_php5
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-09-10 11:26:49 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-09-10 11:26:49 +0000
commitc344a550c6c05820f6555dcb3989f71c5211021e (patch)
tree8671c58c0e8a78ae424880fbc6353971f4a29bce /www/mod_php5
parentremove ports/textproc/aspell-dict as requested (diff)
support appache13-modssl by defining APACHE_PORT in /etc/make.conf
others variants of the apache ports can be used too. Approved by: dirk
Notes
Notes: svn path=/head/; revision=66038
Diffstat (limited to 'www/mod_php5')
-rw-r--r--www/mod_php5/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index c1acd078bea1..27264d970100 100644
--- a/www/mod_php5/Makefile
+++ b/www/mod_php5/Makefile
@@ -23,13 +23,10 @@ DISTNAME= php-${PORTVERSION}
MAINTAINER= dirk@FreeBSD.org
.if !defined(STANDALONE)
+BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
+RUN_DEPENDS= ${APXS}:${APACHE_PORT}
.if defined(WITH_APACHE2)
-BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
-RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
LIB_DEPENDS= pth.14:${PORTSDIR}/devel/pth
-.else
-BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
-RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
.endif
.endif
@@ -40,6 +37,12 @@ SLAVEDIRS= lang/php4
USE_BZIP2= yes
USE_SUBMAKE= yes
USE_AUTOCONF_VER=213
+.if defined(WITH_APACHE2)
+APACHE_PORT?= ${PORTSDIR}/www/apache2
+.else
+APACHE_PORT?= ${PORTSDIR}/www/apache13
+.endif
+APXS?= ${LOCALBASE}/sbin/apxs
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
IS_INTERACTIVE= yes