diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2005-10-02 08:07:32 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2005-10-02 08:07:32 +0000 |
commit | 33e8adf111d380fc4a7009fcb6d636366abf6996 (patch) | |
tree | 2e37c9f86ccf0ea226e9a09313c5e7d883ebfc04 /www/mod_fastcgi/Makefile | |
parent | 28d0fdcdbfed96dd622f5dc16516848fc06ded02 (diff) |
Fix installation where apache2 is already installed.
PR: ports/84681
Submitted by: Ben Calvert <ben@flyingwalrus.net>
Approved by: hollywar@mail.holywar.net (maintainer, timeout 4 weeks)
Notes
Notes:
svn path=/head/; revision=143953
Diffstat (limited to 'www/mod_fastcgi/Makefile')
-rw-r--r-- | www/mod_fastcgi/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/www/mod_fastcgi/Makefile b/www/mod_fastcgi/Makefile index f96e2016d2d5..f0814aa5b835 100644 --- a/www/mod_fastcgi/Makefile +++ b/www/mod_fastcgi/Makefile @@ -19,7 +19,10 @@ BUILD_DEPENDS= ${APXS}:${PORTSDIR}/${APACHE_PORT} CONFLICTS= apache-contrib-1.* APACHE_COMPAT= YES -.if defined(WITH_APACHE2) +.include <bsd.port.pre.mk> + +.if defined(WITH_APACHE2) || exists(${LOCALBASE}/include/apache2/apr.h) +WITH_APACHE2= YES MAKEFILE= Makefile.AP2 USE_REINPLACE= YES MAKE_ARGS= INCLUDES=-I${PREFIX}/include/apache2 @@ -70,4 +73,4 @@ post-install: @${ECHO_MSG} "* *" @${ECHO_MSG} "************************************************************" -.include <bsd.port.mk> +.include <bsd.port.post.mk> |