summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-01-01 16:26:11 +0000
committersunpoet <sunpoet@FreeBSD.org>2015-01-01 16:26:11 +0000
commit76d02bbec69805ef7f7fc6470bf12c696c64f27c (patch)
tree366d36709b94a088a97e4e92a5fe0281dc57e790
parenta8f0d57b6559d00efb2da1bd3c877d376e735791 (diff)
downloadFreeBSD-ports-76d02bbec69805ef7f7fc6470bf12c696c64f27c.zip
FreeBSD-ports-76d02bbec69805ef7f7fc6470bf12c696c64f27c.tar.gz
- Update BUILD_DEPENDS: ExtUtils::MakeMaker 6.64+ is already in Perl 5.18+
-rw-r--r--textproc/p5-XML-Encoding/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/textproc/p5-XML-Encoding/Makefile b/textproc/p5-XML-Encoding/Makefile
index aa9d397..693c854 100644
--- a/textproc/p5-XML-Encoding/Makefile
+++ b/textproc/p5-XML-Encoding/Makefile
@@ -14,11 +14,16 @@ COMMENT= Perl module for parsing XML encoding maps
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
- p5-ExtUtils-MakeMaker>=6.64:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
-RUN_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
+BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
+RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
-.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>
OpenPOWER on IntegriCloud