diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-11-07 09:12:58 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-11-07 09:12:58 +0000 |
commit | f4d7c801f854ff4fad4642d62b23bae798962615 (patch) | |
tree | eee60e8fb7c2a2d1bf0636dd8288df46aee9e9bb /lang/php4/Makefile | |
parent | Add dependency on correct DocBook. (diff) |
Use the new Apache bits from bsd.port.mk.
Submitted by: dinoex
Diffstat (limited to 'lang/php4/Makefile')
-rw-r--r-- | lang/php4/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile index 7223038f6c80..fbcb8abc0cbd 100644 --- a/lang/php4/Makefile +++ b/lang/php4/Makefile @@ -522,21 +522,20 @@ CONFIGURE_ARGS+=--with-zlib=yes .include <bsd.port.pre.mk> .if !defined(WITHOUT_APACHE) -APXS?= ${LOCALBASE}/sbin/apxs .if exists(${LOCALBASE}/include/apache2/apr.h) WITH_APACHE2= yes .endif .if defined(WITH_APACHE2) -APACHE_PORT?= ${PORTSDIR}/www/apache2 +APACHE_PORT?= www/apache2 CONFIGURE_ARGS+=--with-apxs2=${APXS} SAPI_FILE= libexec/apache2/libphp4.so .else -APACHE_PORT?= ${PORTSDIR}/www/apache13 +APACHE_PORT?= www/apache13 CONFIGURE_ARGS+=--with-apxs=${APXS} SAPI_FILE= libexec/apache/libphp4.so .endif -BUILD_DEPENDS+= ${APXS}:${APACHE_PORT} -RUN_DEPENDS+= ${APXS}:${APACHE_PORT} +BUILD_DEPENDS+= ${APXS}:${PORTSDIR}/${APACHE_PORT} +RUN_DEPENDS+= ${APXS}:${PORTSDIR}/${APACHE_PORT} .endif PLIST_SUB+= SAPI_FILE=${SAPI_FILE} \ |