File: pkgconfig-multiarch.patch

package info (click to toggle)
libgd-perl 2.84-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,060 kB
  • sloc: perl: 2,693; 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: 2026-01-24

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -720,6 +720,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;