svn commit: r373940 - head/devel/p5-Module-Release
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Dec 4 15:09:45 UTC 2014
Author: sunpoet
Date: Thu Dec 4 15:09:44 2014
New Revision: 373940
URL: https://svnweb.freebsd.org/changeset/ports/373940
QAT: https://qat.redports.org/buildarchive/r373940/
Log:
- Fix BUILD_DEPENDS
Modified:
head/devel/p5-Module-Release/Makefile
Modified: head/devel/p5-Module-Release/Makefile
==============================================================================
--- head/devel/p5-Module-Release/Makefile Thu Dec 4 15:09:40 2014 (r373939)
+++ head/devel/p5-Module-Release/Makefile Thu Dec 4 15:09:44 2014 (r373940)
@@ -21,7 +21,6 @@ BUILD_DEPENDS= p5-CACertOrg-CA>=0:${PORT
p5-URI>=0:${PORTSDIR}/net/p5-URI \
p5-libwww>=6.02:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:= ${BUILD_DEPENDS}
-BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.64:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
TEST_DEPENDS= p5-Test-Output>=0:${PORTSDIR}/devel/p5-Test-Output \
p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod \
p5-Test-Pod-Coverage>=1:${PORTSDIR}/devel/p5-Test-Pod-Coverage \
@@ -30,4 +29,10 @@ TEST_DEPENDS= p5-Test-Output>=0:${PORTSD
USE_PERL5= configure
USES= perl5
-.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>
More information about the svn-ports-head
mailing list