1
0
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:
Kris Kennaway 2005-05-21 17:43:06 +00:00
parent 740ed3fb66
commit 1592ed613c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135791
2 changed files with 3 additions and 0 deletions

View File

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

View File

@ -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/;' \