perl-Text-BibTeX/add-loongarch64-support.patch
2024-05-14 11:36:23 +08:00

13 lines
513 B
Diff

diff -Naur Text-BibTeX-0.88/Build.PL Text-BibTeX-0.88-change/Build.PL
--- Text-BibTeX-0.88/Build.PL 2019-04-29 23:02:41.000000000 +0800
+++ Text-BibTeX-0.88-change/Build.PL 2024-05-14 11:14:00.561149690 +0800
@@ -88,7 +88,7 @@
}
}
else {
- if ( $Config{archname} =~ /^x86_64|^ppc64|^s390x|^aarch64|^riscv64/ ) {
+ if ( $Config{archname} =~ /^x86_64|^ppc64|^s390x|^aarch64|^riscv64|^loongarch64/ ) {
$libdir =~ s/\bbin\b/lib64/;
if ( !-d $libdir ) {
my $test = $libdir;