diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-10-07 19:38:47 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-10-07 19:38:47 +0000 |
commit | bfe6332fac9f5b9daf9256ac08636f5bf1c7b346 (patch) | |
tree | 9755892ddc58b3d5fd0964188fbf238f0f102469 /lang/php4 | |
parent | 5d1cca19cf90d73fc4ef4a69dd2e077923e7376d (diff) | |
download | ports-bfe6332fac9f5b9daf9256ac08636f5bf1c7b346.tar.gz ports-bfe6332fac9f5b9daf9256ac08636f5bf1c7b346.zip |
Notes
Diffstat (limited to 'lang/php4')
-rw-r--r-- | lang/php4/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile index 9b3e1b088617..93566a14846b 100644 --- a/lang/php4/Makefile +++ b/lang/php4/Makefile @@ -529,7 +529,9 @@ 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 CONFIGURE_ARGS+=--with-apxs2=${APXS} |