mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
Merge pull request #235347 from NickCao/TextBibTeX
perlPackages.TextBibTeX: always install libbtparse.so to /lib instead of /lib64
This commit is contained in:
commit
65732153a6
@ -5,7 +5,7 @@
|
||||
}
|
||||
else {
|
||||
- if ( $Config{archname} =~ /^x86_64|^ppc64|^s390x|^aarch64|^riscv64/ ) {
|
||||
+ if ( $Config{archname} =~ /^x86_64|^ppc64|^s390x|^riscv64/ ) {
|
||||
+ if ( 0 ) {
|
||||
$libdir =~ s/\bbin\b/lib64/;
|
||||
if ( !-d $libdir ) {
|
||||
my $test = $libdir;
|
@ -25171,8 +25171,8 @@ with self; {
|
||||
url = "mirror://cpan/authors/id/A/AM/AMBS/Text-BibTeX-0.88.tar.gz";
|
||||
hash = "sha256-sBRYbmi9vK+wos+gQB6woE6l3oxNW8Nt0Pf66ras9Cw=";
|
||||
};
|
||||
# libbtparse.so: cannot open shared object file (aarch64 only)
|
||||
patches = [ ../development/perl-modules/TextBibTeX-use-lib-on-aarch64.patch ];
|
||||
# libbtparse.so: cannot open shared object file
|
||||
patches = [ ../development/perl-modules/TextBibTeX-use-lib.patch ];
|
||||
perlPreHook = "export LD=$CC";
|
||||
perlPostHook = lib.optionalString stdenv.isDarwin ''
|
||||
oldPath="$(pwd)/btparse/src/libbtparse.dylib"
|
||||
|
Loading…
Reference in New Issue
Block a user