aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBD-mysql
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2004-10-19 08:48:44 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2004-10-19 08:48:44 +0000
commitbb1defadb56eee1e0b971aa9b526321e3ef58a9c (patch)
treeab15261244643825b36fe4d0e21f660dc0040915 /databases/p5-DBD-mysql
parent9fd4e24ec57dde22ef0861a1ebea49f6ff8dbfdf (diff)
downloadports-bb1defadb56eee1e0b971aa9b526321e3ef58a9c.tar.gz
ports-bb1defadb56eee1e0b971aa9b526321e3ef58a9c.zip
Unbreak p5-DBD-mysql50 build.
PR: ports/70804 Submitted by: Robert G. Melson <melsonr@earthlink.net>
Notes
Notes: svn path=/head/; revision=119775
Diffstat (limited to 'databases/p5-DBD-mysql')
-rw-r--r--databases/p5-DBD-mysql/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile
index 6d88e6e8c0b9..5308b91b60ee 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>