summaryrefslogtreecommitdiffstats
path: root/0001-fix-PKG_CONFIG_LIBDIR.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-fix-PKG_CONFIG_LIBDIR.patch')
-rw-r--r--0001-fix-PKG_CONFIG_LIBDIR.patch59
1 files changed, 59 insertions, 0 deletions
diff --git a/0001-fix-PKG_CONFIG_LIBDIR.patch b/0001-fix-PKG_CONFIG_LIBDIR.patch
new file mode 100644
index 0000000..364dcb9
--- /dev/null
+++ b/0001-fix-PKG_CONFIG_LIBDIR.patch
@@ -0,0 +1,59 @@
+From 169852b58e8cedfcf3a34ae0513ceb693a246851 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Mon, 8 Jan 2024 10:39:29 +0100
+Subject: [PATCH] fix PKG_CONFIG_LIBDIR
+
+---
+ Magick++/bin/Magick++-config.in | 4 +++-
+ magick/MagickCore-config.in | 4 +++-
+ wand/MagickWand-config.in | 4 +++-
+ 3 files changed, 9 insertions(+), 3 deletions(-)
+
+diff --git a/Magick++/bin/Magick++-config.in b/Magick++/bin/Magick++-config.in
+index 3f96f4ddd..19450abcd 100755
+--- a/Magick++/bin/Magick++-config.in
++++ b/Magick++/bin/Magick++-config.in
+@@ -7,7 +7,9 @@
+
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+-export PKG_CONFIG_LIBDIR="${exec_prefix}/lib/pkgconfig"
++libdir=@libdir@
++pkgconfigdir=@pkgconfigdir@
++export PKG_CONFIG_LIBDIR="${pkgconfigdir}"
+
+ usage='Usage: Magick++-config [--cppflags] [--cxxflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]
+
+diff --git a/magick/MagickCore-config.in b/magick/MagickCore-config.in
+index bf78a198c..5b7f492d5 100644
+--- a/magick/MagickCore-config.in
++++ b/magick/MagickCore-config.in
+@@ -6,7 +6,9 @@
+
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+-export PKG_CONFIG_LIBDIR="${exec_prefix}/lib/pkgconfig
++libdir=@libdir@
++pkgconfigdir=@pkgconfigdir@
++export PKG_CONFIG_LIBDIR="${pkgconfigdir}"
+
+ usage="\
+ Usage: MagickCore-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
+diff --git a/wand/MagickWand-config.in b/wand/MagickWand-config.in
+index d38b661b4..03680cfdc 100644
+--- a/wand/MagickWand-config.in
++++ b/wand/MagickWand-config.in
+@@ -6,7 +6,9 @@
+
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+-export PKG_CONFIG_LIBDIR="${exec_prefix}/lib/pkgconfig
++libdir=@libdir@
++pkgconfigdir=@pkgconfigdir@
++export PKG_CONFIG_LIBDIR="${pkgconfigdir}"
+
+ usage="\
+ Usage: MagickWand-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
+--
+2.43.0
+