aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBIx-ContextualFetch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-DBIx-ContextualFetch/Makefile')
-rw-r--r--databases/p5-DBIx-ContextualFetch/Makefile17
1 files changed, 3 insertions, 14 deletions
diff --git a/databases/p5-DBIx-ContextualFetch/Makefile b/databases/p5-DBIx-ContextualFetch/Makefile
index 926f2b1490b8..5646200cfd07 100644
--- a/databases/p5-DBIx-ContextualFetch/Makefile
+++ b/databases/p5-DBIx-ContextualFetch/Makefile
@@ -15,28 +15,17 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Add contextual fetches to DBI
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
PERL_CONFIGURE= yes
MAN3= DBIx::ContextualFetch.3
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} < 500600
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
-.else
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
-.endif
-
-BUILD_DEPENDS= ${RUN_DEPENDS}
-
.if ${PERL_LEVEL} < 500702
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
.endif
-.if ${PERL_LEVEL} < 500600
-post-patch:
- ${PERL} -pi -e '$$_="" if /^use warnings/;' \
- ${WRKSRC}/lib/DBIx/ContextualFetch.pm
-.endif
-
.include <bsd.port.post.mk>