From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: help with setenv of perl-curses Date: Sat, 06 Aug 2016 13:28:39 +0000 Message-ID: <878twagh6g.fsf@we.make.ritual.n0.is> References: <20160615012316.GA21204@khazad-dum> <87d1m4sdbh.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW1ed-0000nA-V8 for guix-devel@gnu.org; Sat, 06 Aug 2016 09:28:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bW1eb-0001jR-St for guix-devel@gnu.org; Sat, 06 Aug 2016 09:28:42 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:36849 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW1eb-0001j8-Eq for guix-devel@gnu.org; Sat, 06 Aug 2016 09:28:41 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Vincent Legoll Cc: guix-devel Hi, Vincent Legoll writes: > 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 ? I don't know, read the README and/or INSTALL file of this package on cpan. > -- > Vincent Legoll -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org