aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-07-27 19:23:21 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-07-27 19:23:21 +0000
commit424f2356d59eae76bdf3fb0da95dd46daadce01d (patch)
treebbd1f6b1b84c8cecb6ce81265116ee1344209e37
parent3994f9618bf551f0ec30fd6e780e03c0c9cec170 (diff)
Notes
-rw-r--r--devel/p5-Hash-Util-FieldHash-Compat/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/p5-Hash-Util-FieldHash-Compat/Makefile b/devel/p5-Hash-Util-FieldHash-Compat/Makefile
index ecce4ed17d00..e0881c928da2 100644
--- a/devel/p5-Hash-Util-FieldHash-Compat/Makefile
+++ b/devel/p5-Hash-Util-FieldHash-Compat/Makefile
@@ -16,9 +16,15 @@ LICENSE_COMB= dual
BUILD_DEPENDS= p5-Tie-RefHash-Weak>=0.08:${PORTSDIR}/devel/p5-Tie-RefHash-Weak
RUN_DEPENDS:= ${BUILD_DEPENDS}
-TEST_DEPENDS= p5-Test-Simple>=0:${PORTSDIR}/devel/p5-Test-Simple
+NO_ARCH= yes
USES= perl5
USE_PERL5= configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502200
+TEST_DEPENDS= p5-Test-Simple>=0:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>