diff options
author | skv <skv@FreeBSD.org> | 2004-10-19 16:48:44 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2004-10-19 16:48:44 +0800 |
commit | fe736ae02fb2189f90efafd768ca09f480b53527 (patch) | |
tree | 0f078c21c6daabba23ab26de1e7e51a8fb9e27d6 /databases/p5-DBD-mysql/Makefile | |
parent | 834baf427b70e5d30e8f1986510428e396c11927 (diff) | |
download | freebsd-ports-gnome-fe736ae02fb2189f90efafd768ca09f480b53527.tar.gz freebsd-ports-gnome-fe736ae02fb2189f90efafd768ca09f480b53527.tar.zst freebsd-ports-gnome-fe736ae02fb2189f90efafd768ca09f480b53527.zip |
Unbreak p5-DBD-mysql50 build.
PR: ports/70804
Submitted by: Robert G. Melson <melsonr@earthlink.net>
Diffstat (limited to 'databases/p5-DBD-mysql/Makefile')
-rw-r--r-- | databases/p5-DBD-mysql/Makefile | 3 |
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> |