File: pkgconfig-multiarch.patch

package info (click to toggle)
libgd-perl 2.83-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,764 kB
  • sloc: perl: 2,639; pascal: 336; sh: 18; makefile: 9
file content (20 lines) | stat: -rw-r--r-- 474 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Tell Makefile.PL where to find .pc file
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2025-11-03

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -601,6 +601,11 @@
               }
           }
       }
+
+      # Debian multiarch
+      my $pc_libdir = ExtUtils::PkgConfig->variable($config{pkg}, 'libdir');
+      $pc = "$pc_libdir/pkgconfig/gdlib.pc";
+
       if (-e $pc) {
         my $F;
         open $F, "<", $pc;