[PATCH] devel/p5-ExtUtils-MakeMaker: fix PLIST
Yen-Ming Lee
leeym at FreeBSD.org
Tue Mar 29 01:17:31 PST 2005
>Submitter-Id: current-users
>Originator: Yen-Ming Lee
>Organization: FreeBSD Taiwan
>Confidential: no
>Synopsis: [PATCH] devel/p5-ExtUtils-MakeMaker: fix PLIST
>Severity: non-critical
>Priority: low
>Category: ports
>Class: change-request
>Release: FreeBSD 5.4-PRERELEASE i386
>Environment:
System: FreeBSD utopia.leeym.com 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Tue Mar 15 10:20:57 CST 2005
>Description:
- skip bin/instmodsh and its manpage under perl 5.8.0 or above
Port maintainer (perl at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.5.2005032807/p5-ExtUtils-MakeMaker-6.25.log
>Fix:
--- p5-ExtUtils-MakeMaker-6.25.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-ExtUtils-MakeMaker/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile 21 Jan 2005 09:19:28 -0000 1.5
+++ Makefile 29 Mar 2005 09:16:25 -0000
@@ -37,4 +37,16 @@
IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
.endif
+.if ${PERL_LEVEL} >= 500800
+.undef MAN1
+PLIST_SUB+= EXE_FILES="@comment "
+.else
+PLIST_SUB+= EXE_FILES=""
+.endif
+
+post-patch:
+.if ${PERL_LEVEL} >= 500800
+ @${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL
+.endif
+
.include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/devel/p5-ExtUtils-MakeMaker/pkg-plist,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-plist
--- pkg-plist 20 Apr 2004 20:40:01 -0000 1.1
+++ pkg-plist 29 Mar 2005 09:16:25 -0000
@@ -1,4 +1,4 @@
-bin/instmodsh
+%%EXE_FILES%%bin/instmodsh
%%SITE_PERL%%/ExtUtils/Command.pm
%%SITE_PERL%%/ExtUtils/Command/MM.pm
%%SITE_PERL%%/ExtUtils/Install.pm
--- p5-ExtUtils-MakeMaker-6.25.patch ends here ---
More information about the freebsd-perl
mailing list