From 0081c912c3ca20d90c46a7ed0ae17766f57c7584 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Thu, 18 Jan 2024 10:09:13 +0000 Subject: [PATCH] gawk, fix installation path for shell scripts (#9982) --- sys-apps/gawk/gawk-5.2.2.recipe | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sys-apps/gawk/gawk-5.2.2.recipe b/sys-apps/gawk/gawk-5.2.2.recipe index 18905d1f8..09aea3ac3 100644 --- a/sys-apps/gawk/gawk-5.2.2.recipe +++ b/sys-apps/gawk/gawk-5.2.2.recipe @@ -14,7 +14,7 @@ few lines of code. HOMEPAGE="http://www.gnu.org/s/gawk" COPYRIGHT="1983-2020 Free Software Foundation, Inc." LICENSE="GNU GPL v3" -REVISION="1" +REVISION="2" SOURCE_URI="https://ftp.gnu.org/gnu/gawk/gawk-$portVersion.tar.gz" CHECKSUM_SHA256="945aef7ccff101f20b22a10802bc005e994ab2b8ea3e724cc1a197c62f41f650" PATCHES="gawk-$portVersion.patchset" @@ -23,8 +23,8 @@ ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" GLOBAL_WRITABLE_FILES=" - settings/profile.d/gawk.csh keep-old - settings/profile.d/gawk.sh keep-old + settings/etc/profile.d/gawk.csh keep-old + settings/etc/profile.d/gawk.sh keep-old " # On x86_gcc2 we don't want to install the commands in bin//, but in bin/. @@ -69,8 +69,9 @@ defineDebugInfoPackage gawk$secondaryArchSuffix \ BUILD() { AUTOCONF=: AUTOMAKE=: \ - runConfigure --omit-dirs binDir ./configure \ - --disable-rpath --with-gnu-ld --bindir=$commandBinDir + runConfigure --omit-dirs "binDir sysconfDir" ./configure \ + --disable-rpath --with-gnu-ld --bindir=$commandBinDir \ + --sysconfdir=$sysconfDir/etc make $jobArgs }