From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Overriding PostGIS install directories Date: Fri, 19 Jan 2018 14:27:54 +0100 Message-ID: <8737325679.fsf@gnu.org> References: <87r2qm5t7o.fsf@sturm.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecWiB-00031f-HN for guix-devel@gnu.org; Fri, 19 Jan 2018 08:28:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecWi7-0006kw-D7 for guix-devel@gnu.org; Fri, 19 Jan 2018 08:28:03 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:49086) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ecWi7-0006k0-5L for guix-devel@gnu.org; Fri, 19 Jan 2018 08:27:59 -0500 In-Reply-To: <87r2qm5t7o.fsf@sturm.com.au> (Ben Sturmfels's message of "Fri, 19 Jan 2018 16:10:51 +1100") 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: Ben Sturmfels Cc: Guix-devel Hi Ben, Ben Sturmfels skribis: > I'm trying to force configure to use /share instead by patching > configure.ac as attached. The patch seems like it's being applied, as I > can see the change in > /tmp/guix-build-postgis-2.4.2.drv-7/postgis-2.4.2/configure.ac, but it > seems that the corresponding "configure" file is unchanged, so I'm > obviously missing something. You would need to run =E2=80=9Cautoreconf=E2=80=9D in a pre-configure phase= to regenerate =E2=80=98configure=E2=80=99. And thus you=E2=80=99d need to add= Autoconf (and maybe Automake and Libtool) as native inputs, too. However, I=E2=80=99d recommend simply patching =E2=80=98configure=E2=80=99 = itself in a snippet, using =E2=80=98substitute*=E2=80=99. That way, you won=E2=80=99t have to a= dd these dependencies and extra phase. HTH! Ludo=E2=80=99.