aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2003-05-15 17:04:27 +0800
committertobez <tobez@FreeBSD.org>2003-05-15 17:04:27 +0800
commitf810abaac6a088e93315fbbc5155ca4dd455920b (patch)
treedd71dec995600edde9850d28feff960d00526191
parent92898fe06772a636f20bf55e3e3b2b091c8dc631 (diff)
downloadfreebsd-ports-graphics-f810abaac6a088e93315fbbc5155ca4dd455920b.tar.gz
freebsd-ports-graphics-f810abaac6a088e93315fbbc5155ca4dd455920b.tar.zst
freebsd-ports-graphics-f810abaac6a088e93315fbbc5155ca4dd455920b.zip
Make mod_perl dependency optional (WITHOUT_MODPERL to deactivate).
PR: 51653 Approved by: maintainer
-rw-r--r--www/p5-HTML-Mason/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/p5-HTML-Mason/Makefile b/www/p5-HTML-Mason/Makefile
index 48fdb27f8cf..fa4cede1706 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