diff --git a/srcpkgs/perl-DBD-mysql/template b/srcpkgs/perl-DBD-mysql/template index 6ebc2ee523..21b4346a41 100644 --- a/srcpkgs/perl-DBD-mysql/template +++ b/srcpkgs/perl-DBD-mysql/template @@ -1,16 +1,22 @@ # Template file for 'perl-DBD-mysql' pkgname=perl-DBD-mysql -version=4.046 -revision=6 +version=4.048 +revision=1 wrksrc="DBD-mysql-${version}" build_style=perl-module hostmakedepends="perl perl-DBI perl-Devel-CheckLib" makedepends="${hostmakedepends} libmysqlclient-devel libressl-devel zlib-devel" -checkdepends="perl-Test-Deep" depends="perl-DBI" +checkdepends="perl-Test-Deep" short_desc="DBD::mysql - MySQL DBI driver" maintainer="Diogo Leal " -homepage="https://metacpan.org/release/DBD-mysql" license="Artistic-1.0-Perl, GPL-1.0-or-later" -distfiles="${CPAN_SITE}/DBD/DBD-mysql-$version.tar.gz" -checksum=6165652ec959d05b97f5413fa3dff014b78a44cf6de21ae87283b28378daf1f7 +homepage="https://metacpan.org/release/DBD-mysql" +distfiles="${CPAN_SITE}/DBD/DBD-mysql-${version}.tar.gz" +checksum=1737ffcae68712c04bf529f098df53534ca9a60eb3ce0ad23700bfc40c6415ff + +if [ "$CROSS_BUILD" ]; then + pre_configure() { + sed -i "/^assert_lib/,+2d" Makefile.PL + } +fi