summaryrefslogtreecommitdiff
path: root/dev-perl/Bio-DB-HTS/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
commita4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch)
tree852c90a4bf354c30ea66504f70bfab5401fba18d /dev-perl/Bio-DB-HTS/files
parent5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff)
gentoo resync : 28.04.2018
Diffstat (limited to 'dev-perl/Bio-DB-HTS/files')
-rw-r--r--dev-perl/Bio-DB-HTS/files/2.10-build_search_for_so.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-perl/Bio-DB-HTS/files/2.10-build_search_for_so.patch b/dev-perl/Bio-DB-HTS/files/2.10-build_search_for_so.patch
new file mode 100644
index 000000000000..b3d11bbbe7aa
--- /dev/null
+++ b/dev-perl/Bio-DB-HTS/files/2.10-build_search_for_so.patch
@@ -0,0 +1,29 @@
+--- a/Build.PL
++++ b/Build.PL
+@@ -125,7 +125,7 @@
+
+ my $hts_lib = "$root";
+ my $hts_include = "$root/htslib";
+- if (-f "$hts_lib/libhts.a" && -f "$hts_include/hts.h") {
++ if ((-f "$hts_lib/libhts.so" || -f "$hts_lib/libhts.a") && -f "$hts_include/hts.h") {
+ $self->config_data('hts_lib' => $hts_lib);
+ $self->config_data('hts_include' => $hts_include);
+ return 1;
+@@ -145,7 +145,7 @@
+
+ my $hts_lib = "$root/lib";
+ my $hts_include = "$root/include/htslib";
+- if (-f "$hts_lib/libhts.a" && -f "$hts_include/hts.h") {
++ if ((-f "$hts_lib/libhts.so" || -f "$hts_lib/libhts.a") && -f "$hts_include/hts.h") {
+ $self->config_data('hts_lib' => $hts_lib);
+ $self->config_data('hts_include' => $hts_include);
+ return 1;
+@@ -164,7 +164,7 @@
+ This module requires htslib (http://htslib/org)
+ Install it if you have not done so already.
+
+-This script will attempt to locate htslib by looking for hts.h and libhts.a in:
++This script will attempt to locate htslib by looking for hts.h and libhts.so/libhts.a in:
+
+ 1. --htslib command line argument
+ 2. HTSLIB_DIR environment variable