gawk, fix installation path for shell scripts (#9982)

This commit is contained in:
Schrijvers Luc
2024-01-18 10:09:13 +00:00
committed by GitHub
parent b6d9354359
commit 0081c912c3

View File

@@ -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/<arch>/, 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
}