From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Legoll Subject: Re: help with setenv of perl-curses Date: Mon, 25 Jul 2016 10:18:13 +0200 Message-ID: References: <20160615012316.GA21204@khazad-dum> <87d1m4sdbh.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRb5c-0003P6-1L for guix-devel@gnu.org; Mon, 25 Jul 2016 04:18:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRb5a-0001v5-Qx for guix-devel@gnu.org; Mon, 25 Jul 2016 04:18:15 -0400 Received: from mail-qt0-x236.google.com ([2607:f8b0:400d:c0d::236]:34109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRb5a-0001uu-Md for guix-devel@gnu.org; Mon, 25 Jul 2016 04:18:14 -0400 Received: by mail-qt0-x236.google.com with SMTP id u25so92858299qtb.1 for ; Mon, 25 Jul 2016 01:18:14 -0700 (PDT) In-Reply-To: <87d1m4sdbh.fsf@we.make.ritual.n0.is> 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: ng0 Cc: guix-devel 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