gnu: libnsl: Fix build with gettext 0.20.

* gnu/packages/onc-rpc.scm (libnsl)[arguments]: New field.
This commit is contained in:
Marius Bakke 2019-07-15 21:18:01 +02:00
parent e6e09dc9c5
commit 4b70b776e5
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -137,6 +137,14 @@ (define-public libnsl
(base32
"1chzqhcgh0yia9js8mh92cmhyka7rh32ql6b3mgdk26n94dqzs8b"))))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-before 'bootstrap 'gettextize
(lambda _
;; Regenerate the bundled Makefile.in.in to avoid a
;; "gettext infrastructure mismatch" because the
;; existing version was generated by an older gettext.
(invoke "gettextize" "-f"))))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)