summaryrefslogtreecommitdiffstats
path: root/ImageMagick-6.9.2-7-multiarch-implicit-pkgconfig-dir.patch
blob: 8f711cc6a4845b9ec664d91b5f8445cc5f3812ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff -NurEbBH ImageMagick-6.9.2-7.orig/wand/MagickWand-config.in ImageMagick-6.9.2-7/wand/MagickWand-config.in
--- ImageMagick-6.9.2-7.orig/wand/MagickWand-config.in	2015-11-26 17:14:07.000000000 +0300
+++ ImageMagick-6.9.2-7/wand/MagickWand-config.in	2015-12-05 21:53:37.350660894 +0300
@@ -38,19 +38,19 @@
       echo '@PACKAGE_VERSION@ Q@QUANTUM_DEPTH@ @MAGICK_HDRI@'
       ;;
     --cflags)
-      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand
+      pkg-config --cflags MagickWand
       ;;
     --cxxflags)
-      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand
+      pkg-config --cflags MagickWand
       ;;
     --cppflags)
-      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand
+      pkg-config --cflags MagickWand
       ;;
     --ldflags)
-      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --libs MagickWand
+      pkg-config --libs MagickWand
       ;;
     --libs)
-      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --libs MagickWand
+      pkg-config --libs MagickWand
       ;;
     *)
       echo "${usage}" 1>&2