mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
BROKEN with old perl: Incomplete pkg-plist
This commit is contained in:
parent
740ed3fb66
commit
1592ed613c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135791
@ -27,6 +27,7 @@ MAN3= DBD::LDAP.3
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
|
||||
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
|
||||
BROKEN= "Incomplete pkg-plist"
|
||||
.else
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
||||
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
||||
|
@ -51,6 +51,8 @@ MAN3= WWW::Link.3 \
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500601
|
||||
BROKEN= "Incomplete pkg-plist"
|
||||
|
||||
post-patch:
|
||||
${PERL} -pi.bak \
|
||||
-e 's/^\s*our\s+\(?\s*([\$$\@]\w+)\s*\)?/use vars qw($$1);$$1/;' \
|
||||
|
Loading…
Reference in New Issue
Block a user