ports/186632: devel/p5-File-ShareDir-ProjectDistDir: missing dependencies
Frederic Culot
culot at FreeBSD.org
Mon Feb 10 15:20:00 UTC 2014
>Number: 186632
>Category: ports
>Synopsis: devel/p5-File-ShareDir-ProjectDistDir: missing dependencies
>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: Mon Feb 10 15:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Frederic Culot
>Release: FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r259961: Fri Dec 27 21:56:39 UTC 2013 peter at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64
>Description:
While investigating on ports/185975 I realized the issue comes from missing
dependencies in devel/p5-File-ShareDir-ProjectDistDir. I propose the following
patch to fix this (missing license is also added with this patch).
Regards,
Frederic
>How-To-Repeat:
See ports/185975.
>Fix:
--- p5-File-ShareDir-ProjectDistDir.diff begins here ---
diff -ruN p5-File-ShareDir-ProjectDistDir.bak/Makefile p5-File-ShareDir-ProjectDistDir/Makefile
--- p5-File-ShareDir-ProjectDistDir.bak/Makefile 2014-02-10 14:21:54.515229349 +0100
+++ p5-File-ShareDir-ProjectDistDir/Makefile 2014-02-10 15:58:27.070777130 +0100
@@ -2,6 +2,7 @@
PORTNAME= File-ShareDir-ProjectDistDir
PORTVERSION= 0.5.2
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -9,14 +10,24 @@
MAINTAINER= kuriyama at FreeBSD.org
COMMENT= Perl extension for set-and-forget using a directory in projects root
-RUN_DEPENDS= \
- p5-File-ShareDir>0:${PORTSDIR}/devel/p5-File-ShareDir \
- p5-Path-Class>0:${PORTSDIR}/devel/p5-Path-Class \
- p5-Sub-Exporter>0:${PORTSDIR}/devel/p5-Sub-Exporter
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+RUN_DEPENDS= p5-File-ShareDir>0:${PORTSDIR}/devel/p5-File-ShareDir \
+ p5-Path-Class>0:${PORTSDIR}/devel/p5-Path-Class \
+ p5-Path-FindDev>0:${PORTSDIR}/devel/p5-Path-FindDev \
+ p5-Path-IsDev>0:${PORTSDIR}/devel/p5-Path-IsDev \
+ p5-Path-Tiny>0:${PORTSDIR}/devel/p5-Path-Tiny \
+ p5-Sub-Exporter>0:${PORTSDIR}/devel/p5-Sub-Exporter
BUILD_DEPENDS:= ${RUN_DEPENDS}
-TEST_DEPENDS= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
USES= perl5
USE_PERL5= modbuild
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501400
+TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
--- p5-File-ShareDir-ProjectDistDir.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list