rebuild binary perl libraries because we change perl configure options.
[slapos.git] / component / perl-DBD-mariadb / buildout.cfg
1 [buildout]
2 extends =
3   ../mariadb/buildout.cfg
4   ../perl-DBD-common/buildout.cfg
5
6 parts =
7   perl-DBD-mariadb
8
9 [perl-DBD-mariadb]
10 recipe = hexagonit.recipe.cmmi
11 version = 4.019
12 # binary library should be rebuilt when perl is updated.
13 depends =
14   ${mariadb:version}
15   ${perl:version}
16   ${perl:revision}
17   ${perl-DBI:version}
18 url = http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.019.tar.gz
19 md5sum = 566d98ab8ffac9626a31f6f6d455558e
20 patches =
21   ${perl-DBD-MySQL-patch:location}/${perl-DBD-MySQL-patch:filename}
22 patch-options = -p1
23 configure-command =
24   ${perl:location}/bin/perl Makefile.PL --mysql_config=${mariadb:location}/bin/mysql_config
25 environment =
26   OTHERLDFLAGS=-L${zlib:location}/lib -L${openssl:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${mariadb:location}/lib -Wl,-rpath=${openssl:location}/lib