guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: libnsl: Fix build with gettext 0.20.


From: guix-commits
Subject: 01/02: gnu: libnsl: Fix build with gettext 0.20.
Date: Mon, 15 Jul 2019 15:21:38 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 4b70b776e5b397fc5c15f628561a332e29d1584e
Author: Marius Bakke <address@hidden>
Date:   Mon Jul 15 21:18:01 2019 +0200

    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 d3149a4..553553e 100644
--- a/gnu/packages/onc-rpc.scm
+++ b/gnu/packages/onc-rpc.scm
@@ -137,6 +137,14 @@ from the protocol files.")
                (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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]