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