aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorThomas Danckaert <thomas.danckaert@gmail.com>2017-01-06 16:52:41 +0100
committerLudovic Courtès <ludo@gnu.org>2017-01-07 22:55:40 +0100
commite10872cc83e0a29ff7c86efb3c1cae9fb01d9b45 (patch)
treec4a6a99b1f641053863022c9d7f8be0527b7b566 /gnu/packages
parentb2859a4fef709c2095fbd830b6fd57d8b05bb997 (diff)
downloadguix-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>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/gnupg.scm9
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