summaryrefslogtreecommitdiff
path: root/lang/php4/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-10-07 19:38:47 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-10-07 19:38:47 +0000
commitbfe6332fac9f5b9daf9256ac08636f5bf1c7b346 (patch)
tree9755892ddc58b3d5fd0964188fbf238f0f102469 /lang/php4/Makefile
parentUpgrade to 3.0.0. (diff)
- re-enable auto-detection for APACHE2
PR: 57699 Submitted by: sysadmin@alexdupre.com
Diffstat (limited to 'lang/php4/Makefile')
-rw-r--r--lang/php4/Makefile4
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}