summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2016-11-21 19:36:11 +0200
committerAlon Bar-Lev <alonbl@gentoo.org>2016-11-21 19:43:05 +0200
commit64e040c2925857e9adb4bed0ac61d07197ff39dd (patch)
treee53b0ea9dbd19b45fcfef2e523ef950d942c9ae4 /app-crypt/gpgme
parentdev-lang/swi-prolog: bump 7.3 development version (diff)
downloadgentoo-64e040c2925857e9adb4bed0ac61d07197ff39dd.tar.gz
gentoo-64e040c2925857e9adb4bed0ac61d07197ff39dd.tar.bz2
gentoo-64e040c2925857e9adb4bed0ac61d07197ff39dd.zip
app-crypt/gpgme: fix cmake issue
Bug: 600418 Package-Manager: portage-2.3.0
Diffstat (limited to 'app-crypt/gpgme')
-rw-r--r--app-crypt/gpgme/files/gpgme-1.8.0-cmake.patch33
-rw-r--r--app-crypt/gpgme/gpgme-1.8.0-r1.ebuild (renamed from app-crypt/gpgme/gpgme-1.8.0.ebuild)1
2 files changed, 34 insertions, 0 deletions
diff --git a/app-crypt/gpgme/files/gpgme-1.8.0-cmake.patch b/app-crypt/gpgme/files/gpgme-1.8.0-cmake.patch
new file mode 100644
index 000000000000..09775b868eb6
--- /dev/null
+++ b/app-crypt/gpgme/files/gpgme-1.8.0-cmake.patch
@@ -0,0 +1,33 @@
+From 572c1aac107125ce62230251713349348373db5a Mon Sep 17 00:00:00 2001
+From: Heiko Becker <heirecka@exherbo.org>
+Date: Wed, 16 Nov 2016 23:09:45 +0100
+Subject: [PATCH] Remove a forgotten instance of @libsuffix@
+
+* lang/cpp/src/GpgmeppConfig.cmake.in.in: Remove a forgotten
+instance of @libsuffix@.
+--
+
+b2c07bd47bd608afa5cc819b60a7b5bb8c9dd96a removed @libsuffix@ from
+cmake config files, but missed one instance.
+
+Signed-off-by: Heiko Becker <heirecka@exherbo.org>
+---
+ lang/cpp/src/GpgmeppConfig.cmake.in.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lang/cpp/src/GpgmeppConfig.cmake.in.in b/lang/cpp/src/GpgmeppConfig.cmake.in.in
+index 928d19f..cbe9713 100644
+--- a/lang/cpp/src/GpgmeppConfig.cmake.in.in
++++ b/lang/cpp/src/GpgmeppConfig.cmake.in.in
+@@ -63,7 +63,7 @@ add_library(Gpgmepp SHARED IMPORTED)
+
+ set_target_properties(Gpgmepp PROPERTIES
+ INTERFACE_INCLUDE_DIRECTORIES "@resolved_includedir@/gpgme++;@resolved_includedir@"
+- INTERFACE_LINK_LIBRARIES "pthread;@resolved_libdir@/libgpgme@libsuffix@;@LIBASSUAN_LIBS@"
++ INTERFACE_LINK_LIBRARIES "pthread;@resolved_libdir@/libgpgme.so;@LIBASSUAN_LIBS@"
+ IMPORTED_LOCATION "@resolved_libdir@/libgpgmepp.so"
+ )
+
+--
+2.8.0.rc3
+
diff --git a/app-crypt/gpgme/gpgme-1.8.0.ebuild b/app-crypt/gpgme/gpgme-1.8.0-r1.ebuild
index 593dc92b21a6..1015b3c18046 100644
--- a/app-crypt/gpgme/gpgme-1.8.0.ebuild
+++ b/app-crypt/gpgme/gpgme-1.8.0-r1.ebuild
@@ -40,6 +40,7 @@ REQUIRED_USE="qt5? ( cxx )"
PATCHES=(
"${FILESDIR}"/${PN}-1.1.8-et_EE.patch
+ "${FILESDIR}"/${P}-cmake.patch
)
do_python() {