diff options
Diffstat (limited to 'databases/p5-DBIx-Sunny/Makefile')
-rw-r--r-- | databases/p5-DBIx-Sunny/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/databases/p5-DBIx-Sunny/Makefile b/databases/p5-DBIx-Sunny/Makefile index 1405d2baffce..11c0cff85648 100644 --- a/databases/p5-DBIx-Sunny/Makefile +++ b/databases/p5-DBIx-Sunny/Makefile @@ -39,4 +39,12 @@ PERL_CONFIGURE= yes MAN3= DBIx::Sunny.3 \ DBIx::Sunny::Schema.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 + +BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +.endif + +.include <bsd.port.post.mk> |