ports/133355: [PATCH] textproc/p5-Pod-Strip: update patch
Yen-Ming Lee
leeym at FreeBSD.org
Sat Apr 4 03:30:04 UTC 2009
>Number: 133355
>Category: ports
>Synopsis: [PATCH] textproc/p5-Pod-Strip: update patch
>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 Apr 04 03:30:03 UTC 2009
>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:
- Pod::Simple is shipped with perl-5.10, so use conditional dependency instead.
- bump PORTREVISION
Port maintainer (clsung at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-Pod-Strip-1.02_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/p5-Pod-Strip/Makefile,v
retrieving revision 1.1
diff -u -d -b -w -u -r1.1 Makefile
--- Makefile 13 Feb 2007 04:20:14 -0000 1.1
+++ Makefile 4 Apr 2009 03:27:30 -0000
@@ -7,6 +7,7 @@
PORTNAME= Pod-Strip
PORTVERSION= 1.02
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Pod
@@ -15,11 +16,15 @@
MAINTAINER= clsung at FreeBSD.org
COMMENT= Remove POD from Perl code
-RUN_DEPENDS= ${SITE_PERL}/Pod/Simple.pm:${PORTSDIR}/textproc/p5-Pod-Simple
-BUILD_DEPENDS= ${RUN_DEPENDS}
-
PERL_MODBUILD= yes
MAN3= Pod::Strip.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-Pod-Simple>=3.00:${PORTSDIR}/textproc/p5-Pod-Simple
+BUILD_DEPENDS+= ${RUN_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Pod-Strip-1.02_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list