Source: libtext-bibtex-perl
Version: 0.66-1
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd
Hi,
libtext-bibtex-perl fails to build on hurd-i386 [1].
The problem is in the test suite, which does not use $LD_LIBRARY_PATH
to locate the libbtparse.so.1 library in its output directory.
Attached there is a patch to use $LD_LIBRARY_PATH also on Hurd
($^O = 'gnu'), making the test suite pass successfully.
[1]
https://buildd.debian.org/status/fetch.php?pkg=libtext-bibtex-perl&arch=hurd-i386&ver=0.66-1&stamp=1377871517
Thanks,
--
Pino
--- a/inc/MyBuilder.pm
+++ b/inc/MyBuilder.pm
@@ -359,7 +359,7 @@ sub ACTION_test {
if ($^O =~ /darwin/i) {
$ENV{DYLD_LIBRARY_PATH} = catdir($self->blib, "usrlib");
}
- elsif ($^O =~ /(?:linux|bsd|sun|sol|dragonfly|hpux|irix)/i) {
+ elsif ($^O =~ /(?:linux|bsd|sun|sol|dragonfly|hpux|irix|gnu)/i) {
$ENV{LD_LIBRARY_PATH} = catdir($self->blib, "usrlib");
}
elsif ($^O =~ /aix/i) {