summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-02-10 11:44:00 +0000
committerale <ale@FreeBSD.org>2004-02-10 11:44:00 +0000
commit24d5119e9356b9f61340d310e1fe4f8b9ee0e427 (patch)
tree345bd3955fa4464548e4e26cd5cd417e66b9bcb4 /lang
parentdd30201341c327f2c7d334956a66b26a9f020fde (diff)
downloadFreeBSD-ports-24d5119e9356b9f61340d310e1fe4f8b9ee0e427.zip
FreeBSD-ports-24d5119e9356b9f61340d310e1fe4f8b9ee0e427.tar.gz
Move to httpd.h for apache2 autodetection (as in bsd.php.mk, forgot in my
previous commit). Noticed by: kuriyama Approved by: nork (mentor/implicitly)
Diffstat (limited to 'lang')
-rw-r--r--lang/php4/Makefile2
-rw-r--r--lang/php5/Makefile2
-rw-r--r--lang/php53/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile
index 7c9b91f..f6f1a3d 100644
--- a/lang/php4/Makefile
+++ b/lang/php4/Makefile
@@ -554,7 +554,7 @@ CONFIGURE_ARGS+=--with-zlib=yes
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_APACHE)
-.if exists(${LOCALBASE}/include/apache2/apr.h)
+.if exists(${LOCALBASE}/include/apache2/httpd.h)
WITH_APACHE2= yes
APACHE_MPM!= ${APXS} -q MPM_NAME
.endif
diff --git a/lang/php5/Makefile b/lang/php5/Makefile
index 1d27b5e..693aecc 100644
--- a/lang/php5/Makefile
+++ b/lang/php5/Makefile
@@ -542,7 +542,7 @@ CONFIGURE_ARGS+=--with-zlib
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_APACHE)
-.if exists(${LOCALBASE}/include/apache2/apr.h)
+.if exists(${LOCALBASE}/include/apache2/httpd.h)
WITH_APACHE2= yes
APACHE_MPM!= ${APXS} -q MPM_NAME
.endif
diff --git a/lang/php53/Makefile b/lang/php53/Makefile
index 1d27b5e..693aecc 100644
--- a/lang/php53/Makefile
+++ b/lang/php53/Makefile
@@ -542,7 +542,7 @@ CONFIGURE_ARGS+=--with-zlib
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_APACHE)
-.if exists(${LOCALBASE}/include/apache2/apr.h)
+.if exists(${LOCALBASE}/include/apache2/httpd.h)
WITH_APACHE2= yes
APACHE_MPM!= ${APXS} -q MPM_NAME
.endif
OpenPOWER on IntegriCloud