aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-04 05:24:28 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-04 05:24:28 +0800
commita07ce4ab6644134a043c3b904c91ced20a791c55 (patch)
treeb1d516243454986281c1b0a1208112088b41ba8c /misc
parentc9f9066fe3b5fe27b8cd1df855d4796ca1c1f247 (diff)
downloadfreebsd-ports-gnome-a07ce4ab6644134a043c3b904c91ced20a791c55.tar.gz
freebsd-ports-gnome-a07ce4ab6644134a043c3b904c91ced20a791c55.tar.zst
freebsd-ports-gnome-a07ce4ab6644134a043c3b904c91ced20a791c55.zip
- Fix build with perl 5.16 (requires ExtUtils::MakeMaker)
Approved by: portmgr blanket MFH: 2015Q2
Diffstat (limited to 'misc')
-rw-r--r--misc/p5-Business-ISBN/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/p5-Business-ISBN/Makefile b/misc/p5-Business-ISBN/Makefile
index a5055968669d..a152093a1fff 100644
--- a/misc/p5-Business-ISBN/Makefile
+++ b/misc/p5-Business-ISBN/Makefile
@@ -29,4 +29,10 @@ BARCODE_RUN_DEPENDS= p5-GD-Barcode>=0:${PORTSDIR}/graphics/p5-GD-Barcode
XISBN_BUILD_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww
XISBN_RUN_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501800
+BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.64:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
+.endif
+
+.include <bsd.port.post.mk>