summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2004-10-19 08:48:44 +0000
committerskv <skv@FreeBSD.org>2004-10-19 08:48:44 +0000
commitfe736ae02fb2189f90efafd768ca09f480b53527 (patch)
tree0f078c21c6daabba23ab26de1e7e51a8fb9e27d6
parent834baf427b70e5d30e8f1986510428e396c11927 (diff)
downloadFreeBSD-ports-fe736ae02fb2189f90efafd768ca09f480b53527.zip
FreeBSD-ports-fe736ae02fb2189f90efafd768ca09f480b53527.tar.gz
Unbreak p5-DBD-mysql50 build.
PR: ports/70804 Submitted by: Robert G. Melson <melsonr@earthlink.net>
-rw-r--r--databases/p5-DBD-mysql/Makefile3
-rw-r--r--databases/p5-DBD-mysql50/Makefile2
2 files changed, 3 insertions, 2 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile
index 6d88e6e..5308b91 100644
--- a/databases/p5-DBD-mysql/Makefile
+++ b/databases/p5-DBD-mysql/Makefile
@@ -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>
diff --git a/databases/p5-DBD-mysql50/Makefile b/databases/p5-DBD-mysql50/Makefile
index 7e84673..6ebb8ad 100644
--- a/databases/p5-DBD-mysql50/Makefile
+++ b/databases/p5-DBD-mysql50/Makefile
@@ -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
OpenPOWER on IntegriCloud