diff options
Diffstat (limited to 'devel/p5-Algorithm-Evolutionary/Makefile')
-rw-r--r-- | devel/p5-Algorithm-Evolutionary/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/p5-Algorithm-Evolutionary/Makefile b/devel/p5-Algorithm-Evolutionary/Makefile index 0b812cfc0c73..872c0bd7b11f 100644 --- a/devel/p5-Algorithm-Evolutionary/Makefile +++ b/devel/p5-Algorithm-Evolutionary/Makefile @@ -116,4 +116,11 @@ MAN3= Algorithm::Evolutionary.3 \ Algorithm::Evolutionary::Wheel.3 \ Algorithm::Evolutionary::XML.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +BUILD_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version +RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version +.endif + +.include <bsd.port.post.mk> |