Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2005 17:17:27 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        perl@FreeBSD.org
Subject:   [PATCH] devel/p5-ExtUtils-MakeMaker: fix PLIST
Message-ID:  <20050329091727.00A933EA124@utopia.leeym.com>

next in thread | raw e-mail | index | archive | help

>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@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 ---



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050329091727.00A933EA124>