diff options
-rw-r--r-- | devel/p5-File-Spec/Makefile | 8 | ||||
-rw-r--r-- | devel/p5-PathTools/Makefile | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/devel/p5-File-Spec/Makefile b/devel/p5-File-Spec/Makefile index 1c828d9aad7..f20eb37b51c 100644 --- a/devel/p5-File-Spec/Makefile +++ b/devel/p5-File-Spec/Makefile @@ -25,4 +25,10 @@ MAN3= File::Spec.3 \ File::Spec::Win32.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} > 500600 +IGNORE= This port is for perl 5.6.0 and under only. +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-PathTools/Makefile b/devel/p5-PathTools/Makefile index 1c828d9aad7..f20eb37b51c 100644 --- a/devel/p5-PathTools/Makefile +++ b/devel/p5-PathTools/Makefile @@ -25,4 +25,10 @@ MAN3= File::Spec.3 \ File::Spec::Win32.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} > 500600 +IGNORE= This port is for perl 5.6.0 and under only. +.endif + +.include <bsd.port.post.mk> |