gnu: gnupg@2.1: Use 'modify-phases'.

* gnu/packages/gnupg.scm (gnupg@2.1)[arguments]: Use 'modify-phases'
syntax.
This commit is contained in:
Efraim Flashner 2016-07-25 00:18:15 +03:00
parent 35d28c6013
commit 45477c6a7d
No known key found for this signature in database
GPG key ID: F4C1D3917EACEE93

View file

@ -236,12 +236,12 @@ (define-public gnupg
(arguments (arguments
`(#:configure-flags '("--enable-gpg2-is-gpg") `(#:configure-flags '("--enable-gpg2-is-gpg")
#:phases #:phases
(alist-cons-before (modify-phases %standard-phases
'configure 'patch-config-files (add-before 'configure 'patch-config-files
(lambda _ (lambda _
(substitute* "tests/openpgp/defs.inc" (substitute* "tests/openpgp/defs.inc"
(("/bin/pwd") (which "pwd")))) (("/bin/pwd") (which "pwd")))
%standard-phases))) #t)))))
(home-page "https://gnupg.org/") (home-page "https://gnupg.org/")
(synopsis "GNU Privacy Guard") (synopsis "GNU Privacy Guard")
(description (description