Remove 4.x workaround

PR:		113731
Submitted by:	erwin
Approved by:	maintainer timeout
This commit is contained in:
Erwin Lansing 2007-06-30 09:54:41 +00:00
parent aa902953d1
commit 34ccb0640c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194512

View file

@ -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>