Manolis Ragkousis <manolis...@gmail.com> skribis:

> From 59edf7d33961ffd6dd56567caaca1a23a109d144 Mon Sep 17 00:00:00 2001
> From: Manolis Ragkousis <manolis...@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’.

Reply via email to