From patchwork Mon Feb 22 20:07:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 3911 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4DktWq1Vstz3wwl for ; Mon, 22 Feb 2021 20:07:35 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4DktWn6cd2z14F; Mon, 22 Feb 2021 20:07:33 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4DktWn64zsz2xlk; Mon, 22 Feb 2021 20:07:33 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4DktWm44D9z2xWS; Mon, 22 Feb 2021 20:07:32 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4DktWl0SJMzZD; Mon, 22 Feb 2021 20:07:30 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1614024451; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GdsCIqGz+TxXalQy9y2/+Qul0uVckX3lANWAfwuxCSA=; b=7W/Zz1grhvaxNFRuHvEGi5y3JSyY96nDyYgYB3VMf+s6u7pKQvN+hflZesDJv7g8tzFu9C bWtZQeYRpq2BDoAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1614024451; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GdsCIqGz+TxXalQy9y2/+Qul0uVckX3lANWAfwuxCSA=; b=tut9RgVD0TkKo3D4UmVhuJvmKZ+pFPiGMlsv3Q95medR2XHi0adI91UaxcnzdrZfugtInz WHboSZgClT8oiFTt2+soZy6ed6YPI0s966GxkQPKLXclolDxE4eUgUlRLrvy4pBenpH9Uo 09P8mPGzOwAjtai1BA5esWMwhEsZ6hoBSZ7dERfwTWJuFiIo4YAMykLExBH7VNuMmrTKJc pqdwMfS5gze7ReH+7GHoTGsxqSlFtET3q5aAJqN97fOK0gRSOoZ4lUvyrbU0duL72xIsCl AhPjZCAdx1RomwdJyjJjJsVnDX5GNPyAd4tOVeFjUh0pFoRuqMVr2LzQCZcy5w== From: Stefan Schantl To: location@lists.ipfire.org Subject: [PATCH] Makefile.am: Do not provide PREFIX value for perl build. Date: Mon, 22 Feb 2021 21:07:21 +0100 Message-Id: <20210222200721.32174-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: development@lists.ipfire.org Errors-To: development-bounces@lists.ipfire.org Sender: "Development" This caused to gain the following error when building: Only one of PREFIX or INSTALL_BASE can be given. Not both. Using INSTALLDIRS=vendor is the common way to get the modules installed into the right directories. Fixes #12573. Signed-off-by: Stefan Schantl --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index dc594f8..52a4722 100644 --- a/Makefile.am +++ b/Makefile.am @@ -228,7 +228,7 @@ build-perl: @test -e $(builddir)/src/perl/t/Location.t || ln -s --relative $(srcdir)/src/perl/t/Location.t $(builddir)/src/perl/t/ @test -e $(builddir)/src/perl/typemap || ln -s --relative $(srcdir)/src/perl/typemap $(builddir)/src/perl/ - cd $(builddir)/src/perl && $(PERL) Makefile.PL PREFIX="$(prefix)" \ + cd $(builddir)/src/perl && $(PERL) Makefile.PL INSTALLDIRS=vendor \ INC="-I$(abs_srcdir)/src" LIBS="-L$(abs_builddir)/src/.libs -lloc" cd $(builddir)/src/perl && $(MAKE) CC="$(CC)" LD="$(LD)" LD_RUN_PATH=