diff options
Diffstat (limited to 'www/p5-Apache-AuthCookie/Makefile')
-rw-r--r-- | www/p5-Apache-AuthCookie/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/www/p5-Apache-AuthCookie/Makefile b/www/p5-Apache-AuthCookie/Makefile index 3f9e9c234761..2f84e1aa0991 100644 --- a/www/p5-Apache-AuthCookie/Makefile +++ b/www/p5-Apache-AuthCookie/Makefile @@ -15,18 +15,12 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= A perl module to provide custom forms for reauthentication -USE_APACHE= 13+ +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2 +RUN_DEPENDS:= ${BUILD_DEPENDS} -.include <bsd.port.pre.mk> +USE_APACHE= 20+ -.if defined(WITH_MODPERL2) || ${APACHE_VERSION} > 13 -BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2 -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2 -.else -BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \ - p5-Apache-Test>=1.35:${PORTSDIR}/www/p5-Apache-Test -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl -.endif +.include <bsd.port.pre.mk> CURUSER?= `whoami` CURGRP?= `groups | ${AWK} '{print $$1}'` |