summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-01-12 22:54:56 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-01-12 23:06:13 +0100
commit273151668540b3fe89620f1fe4bb9d648f89dadb (patch)
tree9b5d90ac9e2becd8fb37b35dcc981ac7b76c192e /media-gfx/exiv2/files
parentkde-misc/kmarkdownwebview: 0.5.4 version bump (diff)
downloadgentoo-273151668540b3fe89620f1fe4bb9d648f89dadb.tar.gz
gentoo-273151668540b3fe89620f1fe4bb9d648f89dadb.tar.bz2
gentoo-273151668540b3fe89620f1fe4bb9d648f89dadb.zip
media-gfx/exiv2: Fix pkgconfig
Closes: https://bugs.gentoo.org/675240 Thanks-to: Mike Auty <ikelos@gentoo.org> Package-Manager: Portage-2.3.55, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/exiv2/files')
-rw-r--r--media-gfx/exiv2/files/exiv2-0.27.0-fix-pkgconfig.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/media-gfx/exiv2/files/exiv2-0.27.0-fix-pkgconfig.patch b/media-gfx/exiv2/files/exiv2-0.27.0-fix-pkgconfig.patch
new file mode 100644
index 000000000000..5fc430e915d2
--- /dev/null
+++ b/media-gfx/exiv2/files/exiv2-0.27.0-fix-pkgconfig.patch
@@ -0,0 +1,24 @@
+From e706cca19027dbdf53aeac2041ecce9ccb313c17 Mon Sep 17 00:00:00 2001
+From: Luis Diaz Mas <piponazo@gmail.com>
+Date: Sat, 12 Jan 2019 13:39:12 +0100
+Subject: [PATCH] Fixes in .pc file for being compatible with more
+ distributions
+
+---
+ cmake/exiv2.pc.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/cmake/exiv2.pc.in b/cmake/exiv2.pc.in
+index e477696d5..9018472be 100644
+--- a/cmake/exiv2.pc.in
++++ b/cmake/exiv2.pc.in
+@@ -1,7 +1,7 @@
+ prefix=@CMAKE_INSTALL_PREFIX@
+ exec_prefix=${prefix}
+-libdir=${prefix}/lib
+-includedir=${prefix}/include
++libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
++includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+
+ Name: exiv2
+ Description: @PROJECT_DESCRIPTION@