From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: [PATCH] gnu: Add laby. Date: Fri, 12 Feb 2016 19:17:36 +0100 Message-ID: <20160212181736.GC8954@debian> References: <87egcleiig.fsf@gnu.org> <87fux1y0vg.fsf@dustycloud.org> <20160211221839.73cf23b5@debian-netbook> <87k2madh1x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUIHo-0000u3-M5 for guix-devel@gnu.org; Fri, 12 Feb 2016 13:17:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUIHl-0007As-GL for guix-devel@gnu.org; Fri, 12 Feb 2016 13:17:44 -0500 Received: from mailrelay1.public.one.com ([91.198.169.124]:15365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUIHl-0007AC-4A for guix-devel@gnu.org; Fri, 12 Feb 2016 13:17:41 -0500 Content-Disposition: inline In-Reply-To: <87k2madh1x.fsf@gnu.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Jan Nieuwenhuizen Cc: guix-devel@gnu.org On Thu, Feb 11, 2016 at 11:21:30PM +0100, Jan Nieuwenhuizen wrote: > + #:phases (modify-phases %standard-phases > + (replace > + 'configure > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (let ((out (assoc-ref outputs "out"))) > + (system* > + "./configure" > + "-bindir" (string-append out "/bin") > + "-config" (string-append out "/etc/ocamfind.conf") > + "-mandir" (string-append out "/share/man") > + "-sitelib" (string-append out "/lib/ocaml/site-lib") > + "-with-toolbox"))))))) Ah, one more thing: This could potentially be a list of configure flags, see for instance font-adobe100dpi. These are added to our standard configure flags. Some build systems choke on "--enable-fast-install" and need an explicit call to "./configure" then. If this is the case, please add a comment such as ;; do not pass "--enable-fast-install", which makes the ;; configure process fail Thanks, Andreas