Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2005 00:32:46 +0800
From:      Dryice Liu <dryice@hotpop.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dsh@vlink.ru
Subject:   ports/79205: [update] www/p5-HTML-Mason: RUN_DEPENDS on www/p5-libapreq*
Message-ID:  <20050324163252.AC93D1A009C@smtp-1.hotpop.com>
Resent-Message-ID: <200503241640.j2OGe1HB019428@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050324163252.AC93D1A009C>