diff options
Diffstat (limited to 'www/mod_fastcgi')
-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> |