aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-10-08 03:38:47 +0800
committerdinoex <dinoex@FreeBSD.org>2003-10-08 03:38:47 +0800
commit2f2c0220dca4053f29e31f71e20d46a437178701 (patch)
tree3a44636efcc57f72f76498e3bd4d773be39e7771 /lang
parent41fa84118240fedf910773f74ec2c71c1e145ebb (diff)
downloadfreebsd-ports-graphics-2f2c0220dca4053f29e31f71e20d46a437178701.tar.gz
freebsd-ports-graphics-2f2c0220dca4053f29e31f71e20d46a437178701.tar.zst
freebsd-ports-graphics-2f2c0220dca4053f29e31f71e20d46a437178701.zip
- re-enable auto-detection for APACHE2
PR: 57699 Submitted by: sysadmin@alexdupre.com
Diffstat (limited to 'lang')
-rw-r--r--lang/php4/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile
index 9b3e1b08861..93566a14846 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}