aboutsummaryrefslogtreecommitdiff
path: root/www/mod_fcgid
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2012-08-18 14:29:08 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2012-08-18 14:29:08 +0000
commit63f3e3b0d43bb0b1197cbb5e4c4dfc3a34adb25b (patch)
treedb78183546bb8049f66df049872ab54fe9939c31 /www/mod_fcgid
parentdd195ccb65e4fa43789bd6207b16edef95e01297 (diff)
Notes
Diffstat (limited to 'www/mod_fcgid')
-rw-r--r--www/mod_fcgid/Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/www/mod_fcgid/Makefile b/www/mod_fcgid/Makefile
index 33cc2635c751..d8ae582aca4f 100644
--- a/www/mod_fcgid/Makefile
+++ b/www/mod_fcgid/Makefile
@@ -18,7 +18,7 @@ COMMENT= An alternative FastCGI module for Apache2
MAKE_JOBS_SAFE= yes
-USE_APACHE= 20+
+USE_APACHE= 22+
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.apxs
@@ -29,19 +29,10 @@ SUB_FILES= pkg-message
SUB_LIST+= APACHEMODDIR=${APACHEMODDIR}
PLIST_SUB+= APACHEMODDIR=${APACHEMODDIR}
-.include <bsd.port.pre.mk>
-
-.if ${APACHE_VERSION} >= 22
MAKE_ARGS+= top_dir="${LOCALBASE}/share/apache${APACHE_VERSION}"
MAKE_ARGS+= INCLUDES="-I${LOCALBASE}/include/apache${APACHE_VERSION} -I${LOCALBASE}/include/apr-1"
INSTALL_TARGET= install-modules-yes
DOCSDIR= ${PREFIX}/share/doc/apache22/mod
-.else
-MAKE_ARGS+= top_dir="${LOCALBASE}/share/apache${APACHE_VERSION:S/20/2/}"
-MAKE_ARGS+= INCLUDES="-I${LOCALBASE}/include/apache${APACHE_VERSION:S/20/2/}"
-INSTALL_TARGET= install-modules
-DOCSDIR= ${PREFIX}/share/doc/apache2/mod
-.endif
post-install:
.if !defined(NOPORTDOCS)
@@ -53,4 +44,4 @@ post-install:
${CHOWN} www:www /var/run/fcgidsock
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>