aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBIx-Sunny
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
commitb59621d3ae883bef429a8fae6073bfa293a55222 (patch)
treeb415c7b2903cf47ada68c5557c3c6ac33a25fc41 /databases/p5-DBIx-Sunny
parente93c09b8f3675471a176b72ae1e6f085f7a607ad (diff)
Notes
Diffstat (limited to 'databases/p5-DBIx-Sunny')
-rw-r--r--databases/p5-DBIx-Sunny/Makefile10
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>