Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2005 00:48:12 -0700 (PDT)
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/84210: textproc/p5-Pod-Parser dependancies inaccurate for perl 5.8.6 and above
Message-ID:  <20050728074812.D4BF55E57@mx1.parodius.com>
Resent-Message-ID: <200507280750.j6S7oCcS072840@freefall.freebsd.org>

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

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



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