ports/78250: [PATCH] textproc/p5-PodParser: fix PLIST
Yen-Ming Lee
leeym at FreeBSD.org
Tue Mar 1 19:40:22 UTC 2005
>Number: 78250
>Category: ports
>Synopsis: [PATCH] textproc/p5-PodParser: fix PLIST
>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: Tue Mar 01 19:40:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.3-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-STABLE FreeBSD 5.3-STABLE #1: Wed Feb 9 10:20:03 CST
>Description:
- pod2usage, podchecker, podselect are shipped with perl 5.6 or above
- skip these scripts and their manpages under 5.6 or above
Port maintainer (skv at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- p5-PodParser-1.28_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/p5-PodParser/Makefile,v
retrieving revision 1.12
iff -u -u -r1.12 Makefile
--- Makefile 10 Aug 2004 19:01:25 -0000 1.12
+++ Makefile 1 Mar 2005 19:34:23 -0000
@@ -26,19 +26,18 @@
.include <bsd.port.pre.mk>
-PLIST_SUB= PL_FILES=""
-
.if ${PERL_LEVEL} < 500600
-BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-RUN_DEPENDS= ${BUILD_DEPENDS}
-.elif ${PERL_LEVEL} < 500802
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+PLIST_SUB+= PL_FILES=""
+.else
.undef MAN1
-PLIST_SUB= PL_FILES="@comment "
+PLIST_SUB+= PL_FILES="@comment "
.endif
post-patch:
-.if ${PERL_LEVEL} >= 500600 && ${PERL_LEVEL} < 500802
- @${PERL} -pi -e 'm,_FILES, && s,.,,sg' ${WRKSRC}/Makefile.PL
+.if ${PERL_LEVEL} >= 500600
+ @${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL
.endif
@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;
--- p5-PodParser-1.28_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list