Skip to content

Commit a1c4239

Browse files
committed
bash: fix build in Git for Windows' i686 SDK
The MSYS2 project no longer builds MSYS packages targeting i686, therefore the `autotools` package does not exist. But Git for Windows' SDK targeting i686 does not need to specifically install that package anyway because `autoconf` and `automake` are already installed anyway. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent a86bc48 commit a1c4239

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

bash/PKGBUILD

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ arch=('i686' 'x86_64')
1212
license=('GPL')
1313
url="https://www.gnu.org/software/bash/bash.html"
1414
validpgpkeys=('7C0135FB088AAF6C66C650B9BB5869F064EA74AB') # Chet Ramey
15-
makedepends=('gettext-devel' 'libreadline-devel>=7.0' 'ncurses-devel' 'autotools' 'gcc'
15+
makedepends=('gettext-devel' 'libreadline-devel>=7.0' 'ncurses-devel' 'gcc'
1616
"mingw-w64-$(uname -m)-cv2pdb")
17+
if [ "${CARCH}" == 'x86_64' ]; then
18+
# Git for Windows' i686-bit SDK does not have the `autotools` package
19+
makedepends+=('autotools')
20+
fi
1721
source=(https://ftp.gnu.org/gnu/bash/bash-${_basever}.tar.gz{,.sig}
1822
0001-bash-4.4-cygwin.patch
1923
0002-bash-4.3-msysize.patch

0 commit comments

Comments
 (0)