guix-devel
[Top][All Lists]
Advanced

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

Re: help with setenv of perl-curses


From: Vincent Legoll
Subject: Re: help with setenv of perl-curses
Date: Mon, 25 Jul 2016 10:18:13 +0200

Hello,

> +    (build-system perl-build-system)
> +    (inputs `(("ncurses" ,ncurses)))
> +    (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (add-before
> +             'configure 'set-curses-ldflags
> +           (lambda* (#:key inputs #:allow-other-keys)
> +             (setenv "CURSES_LIBTYPE" "ncurses")
> +             (setenv "CURSES_CFLAGS"
> +                     (string-append "-I" (assoc-ref inputs "ncurses")
> +                                    "/include"))
> +             (setenv "CURSES_LDFLAGS"
> +                     (string-append "-L" (assoc-ref inputs "ncurses")

Is this specific to perl-ncurses or would other ncurses-using packages also need
these definitions ?

-- 
Vincent Legoll



reply via email to

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