From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Sassmannshausen Subject: [PATCH] Wrap binaries in perl build system. Date: Sat, 12 Nov 2016 18:24:45 +0100 Message-ID: <20161112172446.5571-1-alex@pompo.co> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5c36-00049c-0s for guix-devel@gnu.org; Sat, 12 Nov 2016 12:25:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c5c32-0008Cy-U7 for guix-devel@gnu.org; Sat, 12 Nov 2016 12:25:04 -0500 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:35806) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c5c32-0008CG-Ju for guix-devel@gnu.org; Sat, 12 Nov 2016 12:25:00 -0500 Received: by mail-wm0-x243.google.com with SMTP id a20so4247841wme.2 for ; Sat, 12 Nov 2016 09:25:00 -0800 (PST) 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: guix-devel@gnu.org Cc: Alex Sassmannshausen Hello, Perl, like Python and Guile, uses an environmental variable to make libraries accessible to binaries. For this purpose, binaries need to be wrapped with an executable which sets the env variable appropriately. This patch implements the same functionality that the Python build side code already has (I pretty much lifted it from there). This works nicely in my tests (a package I will submit once this has been merged). Comments welcome, Alex Alex Sassmannshausen (1): build-system/perl: Add wrap phase. guix/build/perl-build-system.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) -- 2.10.1