diff options
author | edwin <edwin@FreeBSD.org> | 2003-03-30 09:48:24 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-03-30 09:48:24 +0800 |
commit | 7754e45a990fe233981d20c81644a24331f6b3cf (patch) | |
tree | b7c37ca1b0708838792e55a5dc4031842759d0e7 | |
parent | 555ffa0b6cd1380944d3de78af0c0dece3167b8d (diff) | |
download | freebsd-ports-gnome-7754e45a990fe233981d20c81644a24331f6b3cf.tar.gz freebsd-ports-gnome-7754e45a990fe233981d20c81644a24331f6b3cf.tar.zst freebsd-ports-gnome-7754e45a990fe233981d20c81644a24331f6b3cf.zip |
devel/pear-install: adding support of Apache2
PR: ports/48954
Submitted by: Thierry Thomas <thierry@pompo.net>
-rw-r--r-- | devel/pear-install/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/pear-install/Makefile b/devel/pear-install/Makefile index d1c8efa0364a..9a507971880b 100644 --- a/devel/pear-install/Makefile +++ b/devel/pear-install/Makefile @@ -16,7 +16,10 @@ MAINTAINER= thierry@pompo.net COMMENT= Prepare the installation of the PEAR framework BUILD_DEPENDS= ${LOCALBASE}/bin/php-config:${PORTSDIR}/www/mod_php4 +.if defined(WITH_APACHE2) +RUN_DEPENDS= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4.else RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 +.endif NO_BUILD= yes EXAMPLESDIR= ${PREFIX}/share/examples/pear @@ -27,7 +30,7 @@ EXAMPLESDIR= ${PREFIX}/share/examples/pear PHP_VERSION!= ${LOCALBASE}/bin/php-config --version PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix .else -PHP_VERSION= 4.3.0 +PHP_VERSION= 4.3.1 PHP_BASE= ${LOCALBASE} .endif LPHP_LIB= lib/php |