From: Manolis Ragkousis <manolis837@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix-devel@gnu.org
Subject: [PATCH] gnu: base: Add Glibc-Hurd Headers.
Date: Mon, 2 Jun 2014 21:16:00 +0000 [thread overview]
Message-ID: <CAFtzXzPzXXJXd1DazYLA5PSUpn5Z9kxxpL35pp+i_e0zha3h8w@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: 0001-gnu-base-Add-Glibc-Hurd-Headers.patch --]
[-- Type: text/x-patch, Size: 1934 bytes --]
From 1aa976c666db720008d3e77a7bccdfbae6b01962 Mon Sep 17 00:00:00 2001
From: Manolis Ragkousis <manolis837@gmail.com>
Date: Tue, 3 Jun 2014 00:11:47 +0000
Subject: [PATCH] gnu: base: Add Glibc-Hurd Headers.
* gnu/packages/base.scm (glibc/hurd-headers): New variable.
---
gnu/packages/base.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 8faf797..ef4c4ae 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -646,6 +646,36 @@ with the Linux kernel.")
(zero? (system* "make" "localedata/install-locales")))
%standard-phases)))))))
+(define-public glibc/hurd-headers
+ (package (inherit glibc/hurd)
+ (name "glibc-hurd-headers")
+ (outputs `("out"))
+ (arguments
+ `(#:tests? #f
+ ,@(substitute-keyword-arguments (package-arguments glibc/hurd)
+ ((#:configure-flags _)
+ `(list "--enable-add-ons"
+ "--host=i686-pc-gnu"
+ ;; Installs NIS and RPC related headers that
+ ;; are not installed by default
+ "--enable-obsolete-rpc"))
+ ((#:phases _)
+ '(alist-replace
+ 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (zero? (system* "make" "install-headers"))
+ (close-port (open-output-file
+ (string-append out "/include/gnu/stubs.h")))))
+ (alist-delete
+ 'build
+ (alist-cons-before
+ 'configure 'pre-configure
+ (lambda _
+ (substitute* "configure"
+ (("/bin/pwd") "pwd")))
+ %standard-phases)))))))))
+
(define-public tzdata
(package
(name "tzdata")
--
1.9.3
next reply other threads:[~2014-06-02 21:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-02 21:16 Manolis Ragkousis [this message]
2014-08-29 13:48 ` [PATCH] gnu: base: Add Glibc-Hurd Headers Ludovic Courtès
2014-09-24 13:01 ` Manolis Ragkousis
2014-09-27 9:31 ` Ludovic Courtès
2014-09-27 13:50 ` Manolis Ragkousis
2014-09-27 17:30 ` Manolis Ragkousis
2014-09-28 9:51 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFtzXzPzXXJXd1DazYLA5PSUpn5Z9kxxpL35pp+i_e0zha3h8w@mail.gmail.com \
--to=manolis837@gmail.com \
--cc=Guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.