Bug 79328

Summary: port update: www/p5-HTML-Mason (add optional mod_perl dependency)
Product: Ports & Packages Reporter: Denis Shaposhnikov <dsh>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Denis Shaposhnikov 2005-03-29 08:40:00 UTC
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>
Comment 1 Yen-Ming Lee freebsd_committer freebsd_triage 2005-04-15 19:59:35 UTC
State Changed
From-To: open->closed

Committed, thanks.