ports/84210: textproc/p5-Pod-Parser dependancies inaccurate for perl 5.8.6 and above
Jeremy Chadwick
freebsd at jdc.parodius.com
Thu Jul 28 07:50:13 UTC 2005
>Number: 84210
>Category: ports
>Synopsis: textproc/p5-Pod-Parser dependancies inaccurate for perl 5.8.6 and above
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 28 07:50:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Jeremy Chadwick
>Release: FreeBSD 4.11-STABLE i386
>Organization:
Parodius Networking
>Environment:
System: FreeBSD pentarou.parodius.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Tue Jul 26 07:02:27 PDT 2005 root at pentarou.parodius.com:/usr/obj/usr/src/sys/PENTAROU i386
>Description:
textproc/p5-Pod-Parser deems mandatory to include devel/p5-PathTools,
for all perl releases. perl 5.8.6 and later contain an updated
File::Spec and PathTools suite, so there's no need for this dependancy.
I came across this situation while rebuilding my ports and updating
net-mgmt/mrtg.
>How-To-Repeat:
Not really applicable...
>Fix:
Apply below patch.
--- Makefile.orig Thu Jun 16 04:42:43 2005
+++ Makefile Thu Jul 28 00:43:03 2005
@@ -15,9 +15,6 @@
MAINTAINER= skv at FreeBSD.org
COMMENT= Modules to work with POD (Plain Old Documentation)
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN1= pod2usage.1 podchecker.1 podselect.1
@@ -26,6 +23,12 @@
Pod::Usage.3
.include <bsd.port.pre.mk>
+
+# perl 5.8.6 and later include updated File::Spec and other PathTools modules
+.if ${PERL_LEVEL} < 500806
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+.endif
.if ${PERL_LEVEL} < 500600
PLIST_SUB+= PL_FILES=""
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list