aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2008-12-02 06:40:02 +0800
committerleeym <leeym@FreeBSD.org>2008-12-02 06:40:02 +0800
commit775751bedcafe961b76305d2fe76999e97903380 (patch)
tree93b3fff704cc53ecc0991bec920e5500d9e996d1 /devel
parent5ae503db8bac87088cbf1126c87593d6ea9f4158 (diff)
downloadfreebsd-ports-gnome-775751bedcafe961b76305d2fe76999e97903380.tar.gz
freebsd-ports-gnome-775751bedcafe961b76305d2fe76999e97903380.tar.zst
freebsd-ports-gnome-775751bedcafe961b76305d2fe76999e97903380.zip
- update dependency and build on older perl
- bump PORTREVISION PR: 128796 Submitted by: leeym Approved by: maintainer timeout
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Data-OptList/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/devel/p5-Data-OptList/Makefile b/devel/p5-Data-OptList/Makefile
index c41cdd5e295e..e16fef61ecf5 100644
--- a/devel/p5-Data-OptList/Makefile
+++ b/devel/p5-Data-OptList/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Data-OptList
PORTVERSION= 0.103
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,13 +15,18 @@ PKGNAMEPREFIX= p5-
MAINTAINER= lbr@FreeBSD.org
COMMENT= Parse and validate simple name/value option pairs
-BUILD_DEPENDS= p5-Sub-Install>=0.92:${PORTSDIR}/devel/p5-Sub-Install \
- p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils \
- p5-Params-Util>=0.14:${PORTSDIR}/devel/p5-Params-Util
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Params-Util>=0.14:${PORTSDIR}/devel/p5-Params-Util \
+ p5-Sub-Install>=0.92:${PORTSDIR}/devel/p5-Sub-Install
+BUILD_DEPENDS= ${RUN_DEPENDS}
-PERL_CONFIGURE= 5.8.0+
+PERL_CONFIGURE= yes
MAN3= Data::OptList.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>