aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Tie-ToObject/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Tie-ToObject/Makefile')
-rw-r--r--devel/p5-Tie-ToObject/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/devel/p5-Tie-ToObject/Makefile b/devel/p5-Tie-ToObject/Makefile
index e75883f0becf..4c2ffce86847 100644
--- a/devel/p5-Tie-ToObject/Makefile
+++ b/devel/p5-Tie-ToObject/Makefile
@@ -11,13 +11,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= lippe@FreeBSD.org
COMMENT= Tie to an existing object
-TEST_DEPENDS= p5-Test-use-ok>=0:${PORTSDIR}/devel/p5-Test-use-ok
-
USES= perl5
USE_PERL5= configure
-
post-extract:
@${REINPLACE_CMD} -e '/Test::/d' ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502200
+TEST_DEPENDS+= p5-Test-Simple>=1.001.014:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>