ports/128187: [PATCH] devel/p5-Parse-RecDescent: simplfy dependency
Yen-Ming Lee
leeym at FreeBSD.org
Sat Oct 18 02:30:02 UTC 2008
>Number: 128187
>Category: ports
>Synopsis: [PATCH] devel/p5-Parse-RecDescent: simplfy 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: Sat Oct 18 02:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
- simplfy dependency
- bump PORTREVISION
Port maintainer (tobez at FreeBSD.Org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-Parse-RecDescent-1.96.0_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Parse-RecDescent/Makefile,v
retrieving revision 1.19
diff -u -d -b -w -u -r1.19 Makefile
--- Makefile 17 Oct 2008 12:31:26 -0000 1.19
+++ Makefile 18 Oct 2008 02:20:22 -0000
@@ -7,6 +7,7 @@
PORTNAME= Parse-RecDescent
PORTVERSION= 1.96.0
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/D/DC/DCONWAY
@@ -15,9 +16,6 @@
MAINTAINER= tobez at FreeBSD.Org
COMMENT= A recursive descent parsing framework for Perl
-BUILD_DEPENDS= ${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= YES
MAN3= Parse::RecDescent.3
@@ -28,4 +26,10 @@
${INSTALL_DATA} ${WRKSRC}/tutorial/* ${DOCSDIR}/tutorial
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Text-Balanced>=0:${PORTSDIR}/textproc/p5-Text-Balanced
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Parse-RecDescent-1.96.0_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list