Bug 79328 - port update: www/p5-HTML-Mason (add optional mod_perl dependency)
Summary: port update: www/p5-HTML-Mason (add optional mod_perl dependency)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-29 08:40 UTC by Denis Shaposhnikov
Modified: 2005-04-15 19:59 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.