aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Perl-MinimumVersion/Makefile
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
commitb59621d3ae883bef429a8fae6073bfa293a55222 (patch)
treeb415c7b2903cf47ada68c5557c3c6ac33a25fc41 /textproc/p5-Perl-MinimumVersion/Makefile
parente93c09b8f3675471a176b72ae1e6f085f7a607ad (diff)
downloadports-b59621d3ae883bef429a8fae6073bfa293a55222.tar.gz
ports-b59621d3ae883bef429a8fae6073bfa293a55222.zip
- Revert ports/165605 as requested by portmgr@
Note: devel/p5-B-Size and devel/p5-Devel-Arena where intentionally not restored. PR: ports/165605 Approved by: portmgr (bapt) Feature safe: yes (I sure hope so)
Notes
Notes: svn path=/head/; revision=293247
Diffstat (limited to 'textproc/p5-Perl-MinimumVersion/Makefile')
-rw-r--r--textproc/p5-Perl-MinimumVersion/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/textproc/p5-Perl-MinimumVersion/Makefile b/textproc/p5-Perl-MinimumVersion/Makefile
index 450c2d8c4b32..5713092124d7 100644
--- a/textproc/p5-Perl-MinimumVersion/Makefile
+++ b/textproc/p5-Perl-MinimumVersion/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= p5-File-Find-Rule>=0.32:${PORTSDIR}/devel/p5-File-Find-Rule \
p5-Perl-Critic>=1.10.4:${PORTSDIR}/textproc/p5-Perl-Critic \
p5-Params-Util>=0.25:${PORTSDIR}/devel/p5-Params-Util \
p5-version>=0.76:${PORTSDIR}/devel/p5-version
-BUILD_DEPENDS:= ${RUN_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
@@ -30,4 +30,8 @@ MAN3= Perl::MinimumVersion.3
post-patch:
@${PERL} -pi -e '$$_="" if m/Test::/' ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 501001
+RUN_DEPENDS+= p5-Scalar-List-Utils>=1.20:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+.include <bsd.port.post.mk>