Add optional mod_perl dependency. Thanks to Dryice Liu. How-To-Repeat: diff -Nru p5-HTML-Mason.orig/Makefile p5-HTML-Mason/Makefile --- p5-HTML-Mason.orig/Makefile Thu Feb 10 13:17:49 2005 +++ p5-HTML-Mason/Makefile Tue Mar 29 11:21:17 2005 @@ -57,10 +57,16 @@ 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>
State Changed From-To: open->closed Committed, thanks.