diff options
author | Thomas Danckaert <thomas.danckaert@gmail.com> | 2017-01-06 16:52:41 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-01-07 22:55:40 +0100 |
commit | e10872cc83e0a29ff7c86efb3c1cae9fb01d9b45 (patch) | |
tree | c4a6a99b1f641053863022c9d7f8be0527b7b566 | |
parent | b2859a4fef709c2095fbd830b6fd57d8b05bb997 (diff) | |
download | guix-e10872cc83e0a29ff7c86efb3c1cae9fb01d9b45.tar guix-e10872cc83e0a29ff7c86efb3c1cae9fb01d9b45.tar.gz |
gnu: gpgme: Patch CMake files.
* gnu/packages/gnupg.scm (gpgme)[arguments]: Substitute '@libsuffix@' by
'.so'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/gnupg.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index 56fba45e3a..5f6215b854 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -370,6 +370,15 @@ libskba (working with X.509 certificates and CMS data).") (inputs `(("gnupg" ,gnupg-2.0) ("libassuan" ,libassuan))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'configure 'patch-cmake-file + (lambda _ + ;; Work around <https://bugs.gnupg.org/gnupg/issue2877>. + (substitute* "lang/cpp/src/GpgmeppConfig.cmake.in" + (("@libsuffix@") ".so")) + #t))))) (home-page "https://www.gnupg.org/related_software/gpgme/") (synopsis "Library providing simplified access to GnuPG functionality") (description |