forked from ports/contrib
gpgme: fix cmake
This commit is contained in:
parent
7546d1f7e3
commit
03e614f483
@ -1 +1,3 @@
|
||||
34078cb2ce4b6e9e89c3cd444556826e gpgme-1.1.8-et_EE.patch
|
||||
e7f9eec6d2dde8d9cf03cd8596a1f6aa gpgme-1.8.0-cmake.patch
|
||||
722a4153904b9b5dc15485a22d29263b gpgme-1.8.0.tar.bz2
|
||||
|
@ -6,20 +6,23 @@
|
||||
|
||||
name=gpgme
|
||||
version=1.8.0
|
||||
release=1
|
||||
source=(https://www.gnupg.org/ftp/gcrypt/$name/$name-$version.tar.bz2)
|
||||
release=2
|
||||
source=(https://www.gnupg.org/ftp/gcrypt/$name/$name-$version.tar.bz2
|
||||
gpgme-1.1.8-et_EE.patch
|
||||
gpgme-1.8.0-cmake.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
patch -p1 -i $SRC/gpgme-1.1.8-et_EE.patch
|
||||
patch -p1 -i $SRC/gpgme-1.8.0-cmake.patch
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libexecdir=/usr/lib \
|
||||
--with-gpg=/usr/bin/gpg \
|
||||
--with-pth=yes
|
||||
--libexecdir=/usr/lib
|
||||
|
||||
make
|
||||
make tests
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm -r $PKG/usr/share/info
|
||||
}
|
||||
|
11
gpgme/gpgme-1.1.8-et_EE.patch
Normal file
11
gpgme/gpgme-1.1.8-et_EE.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- gpgme-1.1.8/src/gpgme-config.in 2009-03-08 10:25:48.000000000 +1100
|
||||
+++ gpgme-1.1.8/src/gpgme-config.in 2009-03-08 10:35:53.000000000 +1100
|
||||
@@ -64,7 +64,7 @@
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-*=*)
|
||||
- optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'`
|
||||
+ optarg=`echo "$1" | sed 's/[-_[:alnum:]]*=//'`
|
||||
;;
|
||||
*)
|
||||
optarg=
|
33
gpgme/gpgme-1.8.0-cmake.patch
Normal file
33
gpgme/gpgme-1.8.0-cmake.patch
Normal file
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user