From 4b70b776e5b397fc5c15f628561a332e29d1584e Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 15 Jul 2019 21:18:01 +0200 Subject: [PATCH] gnu: libnsl: Fix build with gettext 0.20. * gnu/packages/onc-rpc.scm (libnsl)[arguments]: New field. --- gnu/packages/onc-rpc.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/onc-rpc.scm b/gnu/packages/onc-rpc.scm index d3149a4629..553553e2c2 100644 --- a/gnu/packages/onc-rpc.scm +++ b/gnu/packages/onc-rpc.scm @@ -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)