gnu: gpgme: Patch CMake files.

* gnu/packages/gnupg.scm (gpgme)[arguments]: Substitute '@libsuffix@' by
  '.so'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Thomas Danckaert 2017-01-06 16:52:41 +01:00 committed by Ludovic Courtès
parent b2859a4fef
commit e10872cc83
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

@ -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