diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-10-08 03:38:47 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-10-08 03:38:47 +0800 |
commit | 2f2c0220dca4053f29e31f71e20d46a437178701 (patch) | |
tree | 3a44636efcc57f72f76498e3bd4d773be39e7771 /lang/php4/Makefile | |
parent | 41fa84118240fedf910773f74ec2c71c1e145ebb (diff) | |
download | freebsd-ports-gnome-2f2c0220dca4053f29e31f71e20d46a437178701.tar.gz freebsd-ports-gnome-2f2c0220dca4053f29e31f71e20d46a437178701.tar.zst freebsd-ports-gnome-2f2c0220dca4053f29e31f71e20d46a437178701.zip |
- re-enable auto-detection for APACHE2
PR: 57699
Submitted by: sysadmin@alexdupre.com
Diffstat (limited to 'lang/php4/Makefile')
-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} |