diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2012-03-13 16:15:36 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2012-03-13 16:15:36 +0000 |
commit | b59621d3ae883bef429a8fae6073bfa293a55222 (patch) | |
tree | b415c7b2903cf47ada68c5557c3c6ac33a25fc41 /devel/p5-Perl-Version | |
parent | e93c09b8f3675471a176b72ae1e6f085f7a607ad (diff) |
Notes
Diffstat (limited to 'devel/p5-Perl-Version')
-rw-r--r-- | devel/p5-Perl-Version/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/p5-Perl-Version/Makefile b/devel/p5-Perl-Version/Makefile index c6a7b0e2ad89..277fa91e9f44 100644 --- a/devel/p5-Perl-Version/Makefile +++ b/devel/p5-Perl-Version/Makefile @@ -16,11 +16,18 @@ COMMENT= Parse and manipulate Perl version strings RUN_DEPENDS= p5-File-Slurp>=9999.12:${PORTSDIR}/devel/p5-File-Slurp \ p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils -BUILD_DEPENDS:= ${RUN_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes MAN1= perl-reversion.1 MAN3= Perl::Version.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 5.008007 +RUN_DEPENDS+= p5-Pod-Parser>=1.3:${PORTSDIR}/textproc/p5-Pod-Parser +BUILD_DEPENDS+= p5-Pod-Parser>=1.3:${PORTSDIR}/textproc/p5-Pod-Parser +.endif + +.include <bsd.port.post.mk> |