aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Lexical-Var
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 /devel/p5-Lexical-Var
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 'devel/p5-Lexical-Var')
-rw-r--r--devel/p5-Lexical-Var/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/devel/p5-Lexical-Var/Makefile b/devel/p5-Lexical-Var/Makefile
index 832d971c02c0..aa8073c7e7c9 100644
--- a/devel/p5-Lexical-Var/Makefile
+++ b/devel/p5-Lexical-Var/Makefile
@@ -18,7 +18,20 @@ PERL_CONFIGURE= yes
MAN3= Lexical::Sub.3 Lexical::Var.3
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0.1500:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
+.endif
+
+.if ${PERL_LEVEL} < 501200
+BUILD_DEPENDS+= p5-Lexical-SealRequireHints>=0.006:${PORTSDIR}/devel/p5-Lexical-SealRequireHints
+RUN_DEPENDS+= p5-Lexical-SealRequireHints>=0.006:${PORTSDIR}/devel/p5-Lexical-SealRequireHints
+.endif
+
post-patch:
+.if ${PERL_LEVEL} >= 501200
@${REINPLACE_CMD} -e '/Lexical::SealRequireHints/d' ${WRKSRC}/Build.PL ${WRKSRC}/lib/Lexical/Var.pm
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>