Date: Fri, 4 Mar 2005 12:54:28 +0800 (CST) From: Yen-Ming Lee <leeym@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: skv@FreeBSD.org Subject: ports/78390: [PATCH] textproc/p5-podlators: fix PLIST Message-ID: <20050304045428.B30073EA11E@utopia.leeym.com> Resent-Message-ID: <200503040500.j2450eXg027444@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050304045428.B30073EA11E>