aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-RDF-Trine
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-03-31 15:23:13 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-03-31 15:23:13 +0000
commit5ef60cf65d5ffcd84fe51c717990fc1cba87d10b (patch)
treea7da32f6c0064d6be598b00d61f30117a3f396dd /textproc/p5-RDF-Trine
parent7d0f8d0bcada46e31904286734f3f09e759febf1 (diff)
downloadports-5ef60cf65d5ffcd84fe51c717990fc1cba87d10b.tar.gz
ports-5ef60cf65d5ffcd84fe51c717990fc1cba87d10b.zip
Cleanup dependencies on lang/p5-Scalar-List-Utils.
The different cases are: - Only bring it if the one bundled with Perl is outdated. - The version bundled with all our Perl is sufficient. - Scalar-List-Util is not really needed by the port. (looking for /(Sub|Scalar|List)::Util/ returns nothing.) While there, do some minor cleanup that caught my eye. PR: 208378 With hat: perl@ Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=412231
Diffstat (limited to 'textproc/p5-RDF-Trine')
-rw-r--r--textproc/p5-RDF-Trine/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/textproc/p5-RDF-Trine/Makefile b/textproc/p5-RDF-Trine/Makefile
index 279e3b49c2dd..aa3d5a41dad5 100644
--- a/textproc/p5-RDF-Trine/Makefile
+++ b/textproc/p5-RDF-Trine/Makefile
@@ -3,6 +3,7 @@
PORTNAME= RDF-Trine
PORTVERSION= 1.014
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -30,7 +31,6 @@ BUILD_DEPENDS= p5-Algorithm-Combinatorics>=0:${PORTSDIR}/math/p5-Algorithm-Combi
p5-Module-Load-Conditional>=0.38:${PORTSDIR}/devel/p5-Module-Load-Conditional \
p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
p5-MooseX-ArrayRef>=0:${PORTSDIR}/devel/p5-MooseX-ArrayRef \
- p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils \
p5-Set-Scalar>=0:${PORTSDIR}/devel/p5-Set-Scalar \
p5-Storable>=0:${PORTSDIR}/devel/p5-Storable \
p5-Text-CSV>=0:${PORTSDIR}/textproc/p5-Text-CSV \
@@ -49,4 +49,11 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502000
+BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.33:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS+= p5-Scalar-List-Utils>=1.33:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>