summaryrefslogtreecommitdiffstats
path: root/cups-multilib.patch
blob: 3c6bc397ab9d41d77ef98098542216e0b4b9b205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -up cups-1.5b1/cups-config.in.multilib cups-1.5b1/cups-config.in
--- cups-1.5b1/cups-config.in.multilib	2010-06-16 02:48:25.000000000 +0200
+++ cups-1.5b1/cups-config.in	2011-05-23 17:33:31.000000000 +0200
@@ -22,8 +22,10 @@ prefix=@prefix@
 exec_prefix=@exec_prefix@
 bindir=@bindir@
 includedir=@includedir@
-libdir=@libdir@
-imagelibdir=@libdir@
+# Fetch libdir from gnutls's pkg-config script.  This is a bit
+# of a cheat, but the cups-devel package requires gnutls-devel anyway.
+libdir=`pkg-config --variable=libdir gnutls`
+imagelibdir=`pkg-config --variable=libdir gnutls`
 datarootdir=@datadir@
 datadir=@datadir@
 sysconfdir=@sysconfdir@