Fix cygwin build triplet hack

Setting a var this way doesn't actually change it for expansion in the same line..
This commit is contained in:
Christoph Reiter
2022-04-03 20:38:58 +02:00
parent e5ba22bfd4
commit afcd49c2a5
9 changed files with 31 additions and 30 deletions

View File

@@ -2,7 +2,7 @@
pkgname=diffutils
pkgver=3.8
pkgrel=2
pkgrel=3
pkgdesc="Utility programs used for creating patch files"
arch=('i686' 'x86_64')
url="https://www.gnu.org/software/diffutils"
@@ -31,9 +31,9 @@ build() {
# make sure tests are running OK
sed -i "s/mkdir -m 0700/mkdir /" tests/init.sh
CHOST="${CHOST/-msys/-cygwin}" \
local CYGWIN_CHOST="${CHOST/-msys/-cygwin}"
./configure \
--build=${CHOST} \
--build=${CYGWIN_CHOST} \
--prefix=/usr \
--without-libiconv-prefix \
--without-libintl-prefix