ports/157625: [PATCH] textproc/p5-PPI: remove unnecessary dependency, bump PORTREVISION
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jun 5 12:50:05 UTC 2011
>Number: 157625
>Category: ports
>Synopsis: [PATCH] textproc/p5-PPI: remove unnecessary dependency, bump PORTREVISION
>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: Sun Jun 05 12:50:04 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Mar 30 10:30:31 CST 2011
>Description:
- Add PERL_LEVEL check: List::Utils>=1.20 is already in Perl 5.10 and above
- Use new CPAN:id macro
- Bump PORTREVISION for dependency change
Port maintainer (lth at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- p5-PPI-1.215_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/p5-PPI/Makefile,v
retrieving revision 1.27
diff -u -u -r1.27 Makefile
--- Makefile 10 Mar 2011 19:06:04 -0000 1.27
+++ Makefile 5 Jun 2011 12:42:31 -0000
@@ -7,21 +7,22 @@
PORTNAME= PPI
PORTVERSION= 1.215
+PORTREVISION= 1
CATEGORIES= textproc perl5
-MASTER_SITES= CPAN/../../authors/id/A/AD/ADAMK
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:ADAMK
PKGNAMEPREFIX= p5-
MAINTAINER= lth at FreeBSD.org
COMMENT= Analyze and manipulate Perl code without using perl itself
-BUILD_DEPENDS= \
+RUN_DEPENDS= \
p5-Clone>=0.30:${PORTSDIR}/devel/p5-Clone \
p5-IO-String>=1.07:${PORTSDIR}/devel/p5-IO-String \
p5-List-MoreUtils>=0.16:${PORTSDIR}/lang/p5-List-MoreUtils \
- p5-Scalar-List-Utils>=1.20:${PORTSDIR}/lang/p5-Scalar-List-Utils \
p5-Params-Util>=1.00:${PORTSDIR}/devel/p5-Params-Util \
p5-Task-Weaken>0:${PORTSDIR}/devel/p5-Task-Weaken
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
@@ -115,4 +116,11 @@
PPI::Transform.3 \
PPI::Transform::UpdateCopyright.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.20:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS+= p5-Scalar-List-Utils>=1.20:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>
--- p5-PPI-1.215_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list