mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Unbreak p5-DBD-mysql50 build.
PR: ports/70804 Submitted by: Robert G. Melson <melsonr@earthlink.net>
This commit is contained in:
parent
9fd4e24ec5
commit
bb1defadb5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119775
2 changed files with 3 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= DBD-mysql
|
||||
PORTVERSION= 2.9004
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= DBD
|
||||
|
@ -38,5 +39,7 @@ post-patch:
|
|||
@${PERL} -pi -e 's/(?:use|no) warnings;?//; s/our (%\w+)/use vars qw(\1);\n\1/' \
|
||||
${WRKSRC}/lib/DBD/mysql/GetInfo.pm
|
||||
.endif
|
||||
@${PERL} -pi -e 's/$$/ || MYSQL_VERSION_ID == 50000/ if $$. == 100' \
|
||||
${WRKSRC}/mysql.xs
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -9,8 +9,6 @@ PKGNAMESUFFIX= 50
|
|||
|
||||
COMMENT= MySQL 5.0 driver for the Perl5 Database Interface (DBI)
|
||||
|
||||
BROKEN= Does not compile
|
||||
|
||||
CONFLICTS= p5-Mysql-modules-* p5-DBD-mysql-* p5-DBD-mysql4[0-9]-*
|
||||
|
||||
WANT_MYSQL_VER= 50
|
||||
|
|
Loading…
Add table
Reference in a new issue