aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBIx-ContextualFetch
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2007-06-30 09:54:41 +0000
committerErwin Lansing <erwin@FreeBSD.org>2007-06-30 09:54:41 +0000
commit34ccb0640c336c83dcc06aedba62476f13c67d48 (patch)
tree0bab3af27efb7c561ad149297a024e415045ba92 /databases/p5-DBIx-ContextualFetch
parentaa902953d1abacf75a974bcc6ddb0d127ccfbcc0 (diff)
downloadports-34ccb0640c336c83dcc06aedba62476f13c67d48.tar.gz
ports-34ccb0640c336c83dcc06aedba62476f13c67d48.zip
Notes
Diffstat (limited to 'databases/p5-DBIx-ContextualFetch')
-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>