ports/79205: [update] www/p5-HTML-Mason: RUN_DEPENDS on www/p5-libapreq*

Dryice Liu dryice at hotpop.com
Thu Mar 24 16:40:03 UTC 2005


>Number:         79205
>Category:       ports
>Synopsis:       [update] www/p5-HTML-Mason: RUN_DEPENDS on www/p5-libapreq*
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 24 16:40:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dryice Liu
>Release:        FreeBSD 5.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD dryice.3322.org 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Mon Mar 21 08:05:12 CST 2005

>Description:
	Add RUN_DEPENDS on www/p5-libapreq* depends on the Apache
	version in use.
	
>How-To-Repeat:
	Deinstall p5-libapreq
	Visit an Mason enabled web page
	Apache will complain in error log: Can't locate Apache/Request.pm in @INC
	
>Fix:


--- p5-HTML-Mason.diff begins here ---
diff -ruN p5-HTML-Mason.old/Makefile p5-HTML-Mason/Makefile
--- p5-HTML-Mason.old/Makefile	Thu Feb 10 18:17:49 2005
+++ p5-HTML-Mason/Makefile	Fri Mar 25 00:15:10 2005
@@ -23,6 +23,12 @@
 RUN_DEPENDS=	${BUILD_DEPENDS} \
 		${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser
 
+.if defined(WITH_APACHE2)
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Apache2/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq2
+.else
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq
+.endif
+
 PERL_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--no-prompts
 
--- p5-HTML-Mason.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list