guix-commits
[Top][All Lists]
Advanced

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

18/31: gnu: commencement: static-bash-for-glibc: Hurd build fix.


From: guix-commits
Subject: 18/31: gnu: commencement: static-bash-for-glibc: Hurd build fix.
Date: Sun, 15 Mar 2020 14:23:12 -0400 (EDT)

janneke pushed a commit to branch wip-hurd
in repository guix.

commit 295390acaa639f139e26004127b1fb3e17e2d708
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Tue Mar 3 02:35:12 2020 -0500

    gnu: commencement: static-bash-for-glibc: Hurd build fix.
    
    * gnu/packages/commencement.scm (static-bash-for-glibc): Add
    -lhurduser -lmachuser for man2html.
---
 gnu/packages/commencement.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index ac52544..fa6593a 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3365,7 +3365,16 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a 
\"$@\"~%"
                      (list (string-append "LDFLAGS=-static -L"
                                           (assoc-ref %build-inputs
                                                      "libc:static")
-                                          "/lib")))))))))
+                                          "/lib"))))
+           ((#:phases phases)
+            `(modify-phases ,phases
+               ,@(if (hurd-system?)
+                     '((add-after 'unpack 'patch-man2html
+                         (lambda _
+                           (substitute* "support/Makefile.in"
+                             (("^LIBS = @LIBS@")
+                              "LIBS = @LIBS@ -lhurduser -lmachuser")))))
+                     '()))))))))
 
 (define gettext-boot0
   ;; A minimal gettext used during bootstrap.



reply via email to

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