ports/141151: [PATCH] textproc/p5-CSS-SAC: simplify dependency
Yen-Ming Lee
leeym at FreeBSD.org
Thu Dec 3 23:00:13 UTC 2009
>Number: 141151
>Category: ports
>Synopsis: [PATCH] textproc/p5-CSS-SAC: simplify dependency
>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: Thu Dec 03 23:00:08 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 7.2-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD cn1.leeym.com 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:57:44 UTC 2009
>Description:
- simplify dependency
- fix Bareword "_out_" problem
- bump PORTREVISION
Port maintainer (skv at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- p5-CSS-SAC-0.08_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/p5-CSS-SAC/Makefile,v
retrieving revision 1.7
diff -u -d -b -w -u -r1.7 Makefile
--- Makefile 7 Jul 2008 17:08:40 -0000 1.7
+++ Makefile 3 Dec 2009 22:57:37 -0000
@@ -7,6 +7,7 @@
PORTNAME= CSS-SAC
PORTVERSION= 0.08
+PORTREVISION= 1
CATEGORIES= textproc perl5 www
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,9 +15,8 @@
MAINTAINER= skv at FreeBSD.org
COMMENT= SAC CSS (Simple API for CSS) parser
-BUILD_DEPENDS= ${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced \
- ${SITE_PERL}/Class/ArrayObjects.pm:${PORTSDIR}/devel/p5-Class-ArrayObjects
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Class-ArrayObjects>=0.04:${PORTSDIR}/devel/p5-Class-ArrayObjects
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
@@ -36,4 +36,9 @@
CSS::SAC::SelectorFactory.3 CSS::SAC::SelectorList.3 \
CSS::SAC::TestWriter.3 CSS::SAC::Writer.3
+# Bareword "_out_" not allowed while "strict subs"
+post-patch:
+ @${REINPLACE_CMD} -e "s,_out_,'_out_',g" ${WRKSRC}/lib/CSS/SAC/TestWriter.pm
+ @${FIND} ${WRKSRC} -name "*.bak" -delete
+
.include <bsd.port.mk>
--- p5-CSS-SAC-0.08_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list