From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: How to "tell" a package so extent an environment variable? Date: Sun, 11 Dec 2016 14:58:29 +0100 Message-ID: <584D5B85.20806@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cG4eI-0005JP-3g for guix-devel@gnu.org; Sun, 11 Dec 2016 08:58:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cG4e9-0001Z8-0H for guix-devel@gnu.org; Sun, 11 Dec 2016 08:58:37 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:46901) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cG4e8-0001Yc-Qh for guix-devel@gnu.org; Sun, 11 Dec 2016 08:58:32 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3tc6xz2yCpz3hjGg for ; Sun, 11 Dec 2016 14:58:31 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3tc6xz1fxrzvh2B for ; Sun, 11 Dec 2016 14:58:31 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id h2mPXiGCA3pK for ; Sun, 11 Dec 2016 14:58:30 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-131-163.dynamic.mnet-online.de [188.174.131.163]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Sun, 11 Dec 2016 14:58:30 +0100 (CET) Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id CAD0F60699 for ; Sun, 11 Dec 2016 14:58:29 +0100 (CET) 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 Hi, I'm working on some PHP extension packages. In PHP extensions need to be enabled by listing in some .ini file and php needs to be told which .ini files to read. The later can be done by setting the environment variable PHP_INI_SCAN_DIR when running php (or related). This is much like setting PYTHONPATH for python modules. So I need to "tell" the package so extent PHP_INI_SCAN_DIR when it gets installed. How can this be done without creating a php-build-system? (Creating a php-build-system is too much time-consuming for me right now.) -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |