aboutsummaryrefslogtreecommitdiff
path: root/www/mod_fastcgi
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-31 23:20:01 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-31 23:20:01 +0000
commit0b3aa46d280b4575ac215244ec45450b5fd78b4a (patch)
treec6387ab36250be34c9a8cbb0cf9b283d451c207c /www/mod_fastcgi
parent678a91d46d29a68aa396229f4ad3948e7bf6aa14 (diff)
Notes
Diffstat (limited to 'www/mod_fastcgi')
-rw-r--r--www/mod_fastcgi/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/www/mod_fastcgi/Makefile b/www/mod_fastcgi/Makefile
index ff1cbba9d5d0..c3412048db4f 100644
--- a/www/mod_fastcgi/Makefile
+++ b/www/mod_fastcgi/Makefile
@@ -14,10 +14,16 @@ MASTER_SITES= ftp://ftp.holywar.net/pub/FreeBSD/ \
MAINTAINER= hollywar@mail.holywar.net
COMMENT= A fast-cgi module for Apache
-BUILD_DEPENDS= ${APXS}:${PORTSDIR}/${APACHE_PORT}
-
CONFLICTS= apache-contrib-1.*
+USE_APACHE= yes
+
+.if exists(/usr/local/include/apache2/httpd.h)
+WITH_APACHE2= yes
+.endif
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_APACHE2)
MAKEFILE= Makefile.AP2
USE_REINPLACE= YES
@@ -65,4 +71,4 @@ post-install:
@${ECHO_MSG} "* *"
@${ECHO_MSG} "************************************************************"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>