mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Remove 4.x workaround
PR: 113731 Submitted by: erwin Approved by: maintainer timeout
This commit is contained in:
parent
aa902953d1
commit
34ccb0640c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194512
1 changed files with 3 additions and 14 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue