diff options
author | tobez <tobez@FreeBSD.org> | 2003-05-15 17:04:27 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2003-05-15 17:04:27 +0800 |
commit | f810abaac6a088e93315fbbc5155ca4dd455920b (patch) | |
tree | dd71dec995600edde9850d28feff960d00526191 /www | |
parent | 92898fe06772a636f20bf55e3e3b2b091c8dc631 (diff) | |
download | freebsd-ports-gnome-f810abaac6a088e93315fbbc5155ca4dd455920b.tar.gz freebsd-ports-gnome-f810abaac6a088e93315fbbc5155ca4dd455920b.tar.zst freebsd-ports-gnome-f810abaac6a088e93315fbbc5155ca4dd455920b.zip |
Make mod_perl dependency optional (WITHOUT_MODPERL to deactivate).
PR: 51653
Approved by: maintainer
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-HTML-Mason/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/www/p5-HTML-Mason/Makefile b/www/p5-HTML-Mason/Makefile index 48fdb27f8cfc..fa4cede17060 100644 --- a/www/p5-HTML-Mason/Makefile +++ b/www/p5-HTML-Mason/Makefile @@ -7,7 +7,7 @@ PORTNAME= HTML-Mason PORTVERSION= 1.19 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= HTML @@ -16,11 +16,15 @@ PKGNAMEPREFIX= p5- MAINTAINER= dsh@vlink.ru COMMENT= High-performance, dynamic web site authoring system -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \ - ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \ +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \ ${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \ ${SITE_PERL}/Class/Container.pm:${PORTSDIR}/devel/p5-Class-Container \ ${SITE_PERL}/Cache/Cache.pm:${PORTSDIR}/devel/p5-Cache-Cache + +.if !defined(WITHOUT_MODPERL) +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq +.endif + RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes |