aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-HTML-Mason/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-HTML-Mason/Makefile')
-rw-r--r--www/p5-HTML-Mason/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/p5-HTML-Mason/Makefile b/www/p5-HTML-Mason/Makefile
index c06fb4015cc7..98e771feec2e 100644
--- a/www/p5-HTML-Mason/Makefile
+++ b/www/p5-HTML-Mason/Makefile
@@ -57,10 +57,16 @@ MAN3= Bundle::HTML::Mason.3 \
HTML::Mason::Tools.3 \
HTML::Mason::Utils.3
+OPTIONS= MOD_PERL "with mod_perl dependency" off
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
.endif
+.if defined(WITH_MOD_PERL)
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache/libapreq.pm:${PORTSDIR}/www/p5-libapreq
+.endif
+
.include <bsd.port.post.mk>