ports/78390: [PATCH] textproc/p5-podlators: fix PLIST

Yen-Ming Lee leeym at FreeBSD.org
Fri Mar 4 05:00:41 UTC 2005


>Number:         78390
>Category:       ports
>Synopsis:       [PATCH] textproc/p5-podlators: 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:   Fri Mar 04 05:00:40 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:
- skip pod2man and pod2text and their manpages under perl 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-podlators-1.27_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/p5-podlators/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- Makefile	26 Sep 2004 00:33:08 -0000	1.7
+++ Makefile	4 Mar 2005 04:53:34 -0000
@@ -28,19 +28,18 @@
 
 .include <bsd.port.pre.mk>
 
-PLIST_SUB=	PL_FILES=""
-
-.if ${PERL_LEVEL} < 500600
-RUN_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
-		${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor
-.elif ${PERL_LEVEL} < 500802
+.if ${PERL_LEVEL} >= 500600
 .undef MAN1
 PLIST_SUB=	PL_FILES="@comment "
+.else
+RUN_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
+		${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor
+PLIST_SUB=	PL_FILES=""
 .endif
 
 post-patch:
-.if ${PERL_LEVEL} >= 500600 && ${PERL_LEVEL} < 500802
-	@${PERL} -pi -e 'm,pod2man|pod2text, && s,.,,sg' ${WRKSRC}/Makefile.PL
+.if ${PERL_LEVEL} >= 500600
+	@${REINPLACE_CMD} -Ee '/(pod2man|pod2text)/d' ${WRKSRC}/Makefile.PL
 .endif
 
 .include <bsd.port.post.mk>
--- p5-podlators-1.27_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list