aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-12-12 17:06:54 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-12-12 17:06:54 +0800
commite0ec9427652d5cdfdde757827598b675ed918d83 (patch)
treea6203c4d083abd02759a084602c012d55c6fe134 /math
parent65b6fc373821f43bf1d8d110cba25baf8d0e0663 (diff)
downloadfreebsd-ports-gnome-e0ec9427652d5cdfdde757827598b675ed918d83.tar.gz
freebsd-ports-gnome-e0ec9427652d5cdfdde757827598b675ed918d83.tar.zst
freebsd-ports-gnome-e0ec9427652d5cdfdde757827598b675ed918d83.zip
- Update *_DEPENDS: p5-ExtUtils-MakeMaker is a conditional build dependency
- Use TEST_DEPENDS - Bump PORTREVISION for dependency change Submitted by: sunpoet (myself) Approved by: kevlo (maintainer, via IRC) Feature safe: yes
Diffstat (limited to 'math')
-rw-r--r--math/p5-Math-RPN/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/math/p5-Math-RPN/Makefile b/math/p5-Math-RPN/Makefile
index 3ab2d06ebf23..8806d7232dfa 100644
--- a/math/p5-Math-RPN/Makefile
+++ b/math/p5-Math-RPN/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Math-RPN
PORTVERSION= 1.09
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,12 +15,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Reverse polish math expression evaluation
-RUN_DEPENDS= ${SITE_PERL}/Test/Warn.pm:${PORTSDIR}/devel/p5-Test-Warn \
- p5-ExtUtils-MakeMaker>=6.52:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
-BUILD_DEPENDS= ${RUN_DEPENDS}
+TEST_DEPENDS= p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn
PERL_CONFIGURE= yes
MAN3= Math::RPN.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.50:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
+.endif
+
+.include <bsd.port.post.mk>