unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 06/10] gnu: flex: Add m4 as a native input.
@ 2015-05-18 22:20 Manolis Ragkousis
  2015-05-19 16:25 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Manolis Ragkousis @ 2015-05-18 22:20 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0006-gnu-flex-Add-m4-as-a-native-input.patch --]
[-- Type: text/x-patch, Size: 965 bytes --]

From 59edf7d33961ffd6dd56567caaca1a23a109d144 Mon Sep 17 00:00:00 2001
From: Manolis Ragkousis <manolis837@gmail.com>
Date: Tue, 12 May 2015 20:45:41 +0300
Subject: [PATCH 06/10] gnu: flex: Add m4 as a native input.

* gnu/packages/flex (flex): Add m4 as a native input.
---
 gnu/packages/flex.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/flex.scm b/gnu/packages/flex.scm
index e76535c..3be777a 100644
--- a/gnu/packages/flex.scm
+++ b/gnu/packages/flex.scm
@@ -60,6 +60,10 @@
               (inputs (alist-delete "flex" (package-inputs bison))))))
        `(("bison" ,bison-for-tests)
          ("indent" ,indent))))
+    ;; m4 is not present in PATH when cross-building
+    (native-inputs (if (%current-target-system)
+                       `(("m4" ,m4))
+                       '()))
     (propagated-inputs `(("m4" ,m4)))
     (home-page "http://flex.sourceforge.net/")
     (synopsis "Fast lexical analyser generator")
-- 
2.4.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 06/10] gnu: flex: Add m4 as a native input.
  2015-05-18 22:20 [PATCH 06/10] gnu: flex: Add m4 as a native input Manolis Ragkousis
@ 2015-05-19 16:25 ` Ludovic Courtès
  2015-05-21  8:54   ` Manolis Ragkousis
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2015-05-19 16:25 UTC (permalink / raw)
  To: Manolis Ragkousis; +Cc: Guix-devel

Manolis Ragkousis <manolis837@gmail.com> skribis:

> From 59edf7d33961ffd6dd56567caaca1a23a109d144 Mon Sep 17 00:00:00 2001
> From: Manolis Ragkousis <manolis837@gmail.com>
> Date: Tue, 12 May 2015 20:45:41 +0300
> Subject: [PATCH 06/10] gnu: flex: Add m4 as a native input.
>
> * gnu/packages/flex (flex): Add m4 as a native input.
> ---
>  gnu/packages/flex.scm | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/gnu/packages/flex.scm b/gnu/packages/flex.scm
> index e76535c..3be777a 100644
> --- a/gnu/packages/flex.scm
> +++ b/gnu/packages/flex.scm
> @@ -60,6 +60,10 @@
>                (inputs (alist-delete "flex" (package-inputs bison))))))
>         `(("bison" ,bison-for-tests)
>           ("indent" ,indent))))
> +    ;; m4 is not present in PATH when cross-building
> +    (native-inputs (if (%current-target-system)
> +                       `(("m4" ,m4))
> +                       '()))

Keep it like you did for Bison: add M4 unconditionally.

OK with this change for wip-hurd and/or core-updates.

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 06/10] gnu: flex: Add m4 as a native input.
  2015-05-19 16:25 ` Ludovic Courtès
@ 2015-05-21  8:54   ` Manolis Ragkousis
  0 siblings, 0 replies; 3+ messages in thread
From: Manolis Ragkousis @ 2015-05-21  8:54 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix-devel

Done and pushed to wip-hurd.

Manolis

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-21  8:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-18 22:20 [PATCH 06/10] gnu: flex: Add m4 as a native input Manolis Ragkousis
2015-05-19 16:25 ` Ludovic Courtès
2015-05-21  8:54   ` Manolis Ragkousis

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).