Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 2008 19:20:45 -0700 (PDT)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tobez@FreeBSD.org
Subject:   ports/128187: [PATCH] devel/p5-Parse-RecDescent: simplfy dependency
Message-ID:  <200810180220.m9I2Kj80036312@cn1.leeym.com>
Resent-Message-ID: <200810180230.m9I2U22m070762@freefall.freebsd.org>

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

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



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