aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-04-16 02:59:29 +0800
committerleeym <leeym@FreeBSD.org>2005-04-16 02:59:29 +0800
commitaad07f9f3f97ae6f0d6d35b7c3976dcfb9abc533 (patch)
tree8fcd195a3545d23bbf90a879f292ca5a4f8984e5 /www
parentc75c20b5cdbf3db05cf85cb9b0087bf212e650c2 (diff)
downloadfreebsd-ports-gnome-aad07f9f3f97ae6f0d6d35b7c3976dcfb9abc533.tar.gz
freebsd-ports-gnome-aad07f9f3f97ae6f0d6d35b7c3976dcfb9abc533.tar.zst
freebsd-ports-gnome-aad07f9f3f97ae6f0d6d35b7c3976dcfb9abc533.zip
- Add optional mod_perl dependency. Thanks to Dryice Liu.
PR: 79328 Submitted by: Denis Shaposhnikov <dsh@vlink.ru>
Diffstat (limited to 'www')
-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>