guix-commits
[Top][All Lists]
Advanced

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

26/33: gnu: commencement: static-bash-for-glibc: Hurd build fix.


From: guix-commits
Subject: 26/33: gnu: commencement: static-bash-for-glibc: Hurd build fix.
Date: Fri, 13 Mar 2020 02:45:56 -0400 (EDT)

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

commit 537967e64e1b18d747459a73c8bc3544888313cf
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 6d40c70..ddfefe0 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3371,7 +3371,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]