Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  2 Mar 2005 03:36:40 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        skv@FreeBSD.org
Subject:   ports/78250: [PATCH] textproc/p5-PodParser: fix PLIST
Message-ID:  <20050301193640.82AEE3EA124@utopia.leeym.com>
Resent-Message-ID: <200503011940.j21JeMI2094677@freefall.freebsd.org>

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

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



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