dev-perl/Bio-DB-HTS: allow explicit specification of htslib directories
authorMarek Szuba <marecki@gentoo.org>
Tue, 1 May 2018 08:45:02 +0000 (09:45 +0100)
committerMarek Szuba <marecki@gentoo.org>
Tue, 1 May 2018 08:45:33 +0000 (09:45 +0100)
commitf7bdf03a3823e8156f7e31aea55948702f4882e2
tree2237c04a30edd23bd79b149dce04fca1c99d2c65
parentf3989b15b307d7b172ec820d602bbc295819c194
dev-perl/Bio-DB-HTS: allow explicit specification of htslib directories

Upstream build script takes a single directory as htslib prefix, then
appends "include/htslib" while looking for header files and "lib" while
looking for library. Unsurprisingly, the latter fails to locate the htslib
library on SYMLINK_LIB=no systems.

I have patched the build script to allow both htslib-includedir and
htslib-libdir to be provided explicitly, thus letting the ebuild take
care of choosing the correct libdir name for the specified
architecture/ABI.

Closes: https://bugs.gentoo.org/654460
Package-Manager: Portage-2.3.24, Repoman-2.3.6
dev-perl/Bio-DB-HTS/Bio-DB-HTS-2.10.ebuild
dev-perl/Bio-DB-HTS/files/2.10-build_split_htslib_opts.patch [new file with mode: 0644]