ports/121196: www/awstats: [PATCH]: missing RUN_DEPENDS (p5-URI)
Philip M. Gollucci
pgollucci at p6m7g8.com
Fri Feb 29 01:20:02 UTC 2008
>Number: 121196
>Category: ports
>Synopsis: www/awstats: [PATCH]: missing RUN_DEPENDS (p5-URI)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 29 01:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Philip M. Gollucci
>Release: 8.0-CURRENT
>Organization:
Riderway Inc
>Environment:
FreeBSD philip.hq.rws 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Nov 6 16:28:12 EST 2007 pgollucci at philip.hq.rws:/usr/obj/usr/src/sys/RIDERWAY i386
>Description:
Error: Plugin load for plugin 'decodeutfkeys' failed with return code: Error: Can't locate URI/Escape.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 . /usr/local/www/awstats/cgi-bin/lib /usr/local/www/awstats/cgi-bin/plugins) at (eval 6) line 1.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/awstats/Makefile,v
retrieving revision 1.38
diff -u -r1.38 Makefile
--- Makefile 23 Aug 2007 14:47:13 -0000 1.38
+++ Makefile 29 Feb 2008 01:12:30 -0000
@@ -7,6 +7,7 @@
PORTNAME= awstats
PORTVERSION= 6.7
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -16,6 +17,7 @@
COMMENT= Free real-time logfile analyzer to get advanced web statistics
RUN_DEPENDS= ${SITE_PERL}/Net/XWhois.pm:${PORTSDIR}/net/p5-Net-XWhois
+RUN_DEPENDS= ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI
NO_BUILD= yes
USE_PERL5_RUN= yes
@@ -23,7 +25,8 @@
SUB_FILES= pkg-message
-OPTIONS= IPV6 "Enable IPV6 for use with IPv6 Plugin" Off
+OPTIONS= IPV6 "Enable IPV6 for use with IPv6 Plugin" Off \
+ APACHE "Enable Apache For use with the Web Interface" Off
.include <bsd.port.pre.mk>
@@ -36,6 +39,10 @@
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
.endif
+.if defined (WITH_APACHE)
+USE_APACHE=2.0+
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/tools/awstats_buildstaticpages.pl
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/tools/awstats_configure.pl
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list