diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-09-10 11:26:49 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-09-10 11:26:49 +0000 |
commit | c344a550c6c05820f6555dcb3989f71c5211021e (patch) | |
tree | 8671c58c0e8a78ae424880fbc6353971f4a29bce /www/mod_php5 | |
parent | ae5c167b2d99819833857226b1dd4ae7b5756cf7 (diff) | |
download | ports-c344a550c6c05820f6555dcb3989f71c5211021e.tar.gz ports-c344a550c6c05820f6555dcb3989f71c5211021e.zip |
Notes
Diffstat (limited to 'www/mod_php5')
-rw-r--r-- | www/mod_php5/Makefile | 13 |
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 |