From 420b1342a7ca82b96b51f60ad817f8c5713d62a5 Mon Sep 17 00:00:00 2001 From: MrVeink Date: Fri, 26 Aug 2022 13:57:09 +0300 Subject: [PATCH] Adding `bad --gmake` to files that use `gmake` --- base/fakeroot/build.sh | 4 ++-- extra/distcc/build.sh | 4 ++-- extra/heirloom-doctools/build.sh | 6 +++--- extra/libxml2/build.sh | 6 +++--- extra/lynx/build.sh | 4 ++-- extra/mold/build.sh | 4 ++-- extra/xxhash/build.sh | 4 ++-- gui/alsa-sndio/build.sh | 4 ++-- gui/ffmpeg/build.sh | 4 ++-- gui/icu/build.sh | 4 ++-- gui/qtbase/build.sh | 4 ++-- gui/qtdeclarative/build.sh | 4 ++-- gui/qtwayland/build.sh | 4 ++-- gui/qtwebengine/build.sh | 4 ++-- gui/sndio/build.sh | 8 ++++---- linux/raspberrypi-linux/build.sh | 14 +++++++------- old/bin86/build.sh | 4 ++-- old/dropbear/build.sh | 6 +++--- old/e2fsprogs/build.sh | 2 +- old/libnl/build.sh | 4 ++-- old/lilo/build.sh | 4 ++-- old/swc/build.sh | 4 ++-- old/toolchain-aarch64/build.sh | 4 ++-- old/velox/build.sh | 4 ++-- old/wld/build.sh | 4 ++-- pkgs/nasm/build.sh | 6 +++--- pkgs/squashfs-tools/build.sh | 4 ++-- 27 files changed, 64 insertions(+), 64 deletions(-) diff --git a/base/fakeroot/build.sh b/base/fakeroot/build.sh index 6209b03..efaeb56 100644 --- a/base/fakeroot/build.sh +++ b/base/fakeroot/build.sh @@ -15,12 +15,12 @@ build() { --build=$TRIPLE \ --host=$TRIPLE - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir + bad --gmake gmake install DESTDIR=$pkgdir } license() { diff --git a/extra/distcc/build.sh b/extra/distcc/build.sh index 8a82dd2..eddca3e 100644 --- a/extra/distcc/build.sh +++ b/extra/distcc/build.sh @@ -15,12 +15,12 @@ build() { --host=x86_64-unknown-linux-musl \ --without-libiberty - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir + bad --gmake gmake install DESTDIR=$pkgdir install -d $pkgdir/usr/lib/distcc ln -sr $pkgdir/usr/bin/distcc $pkgdir/usr/lib/distcc/cc diff --git a/extra/heirloom-doctools/build.sh b/extra/heirloom-doctools/build.sh index d38e9d0..bece1b7 100644 --- a/extra/heirloom-doctools/build.sh +++ b/extra/heirloom-doctools/build.sh @@ -15,18 +15,18 @@ fetch() { build() { cd $pkgname-$pkgver ./configure - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver - gmake install ROOT=$pkgdir + bad --gmake gmake install ROOT=$pkgdir rm -r $pkgdir/usr/share } package_doc() { cd $pkgname-$pkgver - gmake install ROOT=$pkgdir + bad --gmake gmake install ROOT=$pkgdir rm -r $pkgdir/usr/lib rm -r $pkgdir/usr/bin } diff --git a/extra/libxml2/build.sh b/extra/libxml2/build.sh index e92fd15..ce6120b 100644 --- a/extra/libxml2/build.sh +++ b/extra/libxml2/build.sh @@ -11,17 +11,17 @@ fetch() { build() { cd $pkgname-$pkgver ./configure --prefix=/usr --without-python - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir + bad --gmake gmake install DESTDIR=$pkgdir } package_dev() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir + bad --gmake gmake install DESTDIR=$pkgdir } license() { diff --git a/extra/lynx/build.sh b/extra/lynx/build.sh index dad99b4..5f0f2d6 100644 --- a/extra/lynx/build.sh +++ b/extra/lynx/build.sh @@ -16,12 +16,12 @@ build() { --build=x86_64-unknown-linux-musl \ --host=x86_64-unknown-linux-musl - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir + bad --gmake gmake install DESTDIR=$pkgdir } license() { diff --git a/extra/mold/build.sh b/extra/mold/build.sh index 38e0d09..8e42f09 100644 --- a/extra/mold/build.sh +++ b/extra/mold/build.sh @@ -11,12 +11,12 @@ fetch() { build() { cd $pkgname-$pkgver - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir + bad --gmake gmake install DESTDIR=$pkgdir ln -sr $pkgdir/usr/bin/mold $pkgdir/usr/bin/ld.mold } diff --git a/extra/xxhash/build.sh b/extra/xxhash/build.sh index 62d3a88..76758b3 100644 --- a/extra/xxhash/build.sh +++ b/extra/xxhash/build.sh @@ -10,12 +10,12 @@ fetch() { build() { cd $pkgname-$pkgver - gmake PREFIX=/usr + bad --gmake gmake PREFIX=/usr } package() { cd $pkgname-$pkgver - gmake install PREFIX=/usr DESTDIR=$pkgdir + bad --gmake gmake install PREFIX=/usr DESTDIR=$pkgdir } license() { diff --git a/gui/alsa-sndio/build.sh b/gui/alsa-sndio/build.sh index 4367e85..8691e24 100644 --- a/gui/alsa-sndio/build.sh +++ b/gui/alsa-sndio/build.sh @@ -8,12 +8,12 @@ fetch() { build() { cd $pkgname-$pkgver - gmake PREFIX=/usr + bad --gmake gmake PREFIX=/usr } package() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir PREFIX=/usr + bad --gmake gmake install DESTDIR=$pkgdir PREFIX=/usr } license() { diff --git a/gui/ffmpeg/build.sh b/gui/ffmpeg/build.sh index 11034ec..15e98e7 100644 --- a/gui/ffmpeg/build.sh +++ b/gui/ffmpeg/build.sh @@ -13,12 +13,12 @@ build() { --enable-openssl \ --cc=cc - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir + bad --gmake gmake install DESTDIR=$pkgdir } license() { diff --git a/gui/icu/build.sh b/gui/icu/build.sh index c0c53be..80e4a97 100644 --- a/gui/icu/build.sh +++ b/gui/icu/build.sh @@ -18,13 +18,13 @@ build() { --build=$TRIPLE \ --host=$TRIPLE - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver cd source - gmake install DESTDIR=$pkgdir + bad --gmake gmake install DESTDIR=$pkgdir } license() { diff --git a/gui/qtbase/build.sh b/gui/qtbase/build.sh index 4e65cfc..64d1e20 100644 --- a/gui/qtbase/build.sh +++ b/gui/qtbase/build.sh @@ -20,13 +20,13 @@ build() { -platform linux-clang-libc++ \ -prefix /usr - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver cd build - gmake INSTALL_ROOT=$pkgdir install + bad --gmake gmake INSTALL_ROOT=$pkgdir install } license() { diff --git a/gui/qtdeclarative/build.sh b/gui/qtdeclarative/build.sh index d27c302..0320433 100644 --- a/gui/qtdeclarative/build.sh +++ b/gui/qtdeclarative/build.sh @@ -11,12 +11,12 @@ build() { cd $pkgname-$pkgver qmake - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver - gmake INSTALL_ROOT=$pkgdir install + bad --gmake gmake INSTALL_ROOT=$pkgdir install } license() { diff --git a/gui/qtwayland/build.sh b/gui/qtwayland/build.sh index d285ee4..4691702 100644 --- a/gui/qtwayland/build.sh +++ b/gui/qtwayland/build.sh @@ -11,12 +11,12 @@ build() { cd $pkgname-$pkgver qmake - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver - gmake INSTALL_ROOT=$pkgdir install + bad --gmake gmake INSTALL_ROOT=$pkgdir install } license() { diff --git a/gui/qtwebengine/build.sh b/gui/qtwebengine/build.sh index 3d861ab..1ca2c7b 100644 --- a/gui/qtwebengine/build.sh +++ b/gui/qtwebengine/build.sh @@ -16,12 +16,12 @@ build() { cd $pkgname-$pkgver qmake - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver - gmake INSTALL_ROOT=$pkgdir install + bad --gmake gmake INSTALL_ROOT=$pkgdir install } license() { diff --git a/gui/sndio/build.sh b/gui/sndio/build.sh index 061184a..0cef4f3 100644 --- a/gui/sndio/build.sh +++ b/gui/sndio/build.sh @@ -13,12 +13,12 @@ build() { --prefix=/usr \ --enable-alsa - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir + bad --gmake gmake install DESTDIR=$pkgdir rm -rf $pkgdir/usr/share/man @@ -28,7 +28,7 @@ package() { package_dev() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir + bad --gmake gmake install DESTDIR=$pkgdir rm -rf $pkgdir/usr/bin rm -rf $pkgdir/usr/share/man @@ -37,7 +37,7 @@ package_dev() { package_doc() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir + bad --gmake gmake install DESTDIR=$pkgdir rm -rf $pkgdir/usr/lib rm -rf $pkgdir/usr/bin diff --git a/linux/raspberrypi-linux/build.sh b/linux/raspberrypi-linux/build.sh index 459dd64..180245c 100644 --- a/linux/raspberrypi-linux/build.sh +++ b/linux/raspberrypi-linux/build.sh @@ -13,26 +13,26 @@ fetch() { build() { cd $pkgname-$pkgver - gmake ARCH=arm64 CC=cc HOSTCC=cc LEX=flex YACC=yacc LLVM=1 LLVM_IAS=1 bcm2711_defconfig - gmake ARCH=arm64 CC=cc HOSTCC=cc LEX=flex YACC=yacc LLVM=1 LLVM_IAS=1 + bad --gmake gmake ARCH=arm64 CC=cc HOSTCC=cc LEX=flex YACC=yacc LLVM=1 LLVM_IAS=1 bcm2711_defconfig + bad --gmake gmake ARCH=arm64 CC=cc HOSTCC=cc LEX=flex YACC=yacc LLVM=1 LLVM_IAS=1 } package() { cd $pkgname-$pkgver install -d $pkgdir/boot cp arch/arm64/boot/Image $pkgdir/boot/kernel8.img - gmake ARCH=arm64 CC=cc HOSTCC=cc LEX=flex YACC=yacc LLVM=1 LLVM_IAS=1 INSTALL_PATH=$pkgdir/boot install - gmake ARCH=arm64 CC=cc HOSTCC=cc LEX=flex YACC=yacc LLVM=1 LLVM_IAS=1 INSTALL_DTBS_PATH=$pkgdir/boot dtbs_install - gmake ARCH=arm64 CC=cc HOSTCC=cc LEX=flex YACC=yacc LLVM=1 LLVM_IAS=1 INSTALL_MOD_PATH=$pkgdir/ modules_install + bad --gmake gmake ARCH=arm64 CC=cc HOSTCC=cc LEX=flex YACC=yacc LLVM=1 LLVM_IAS=1 INSTALL_PATH=$pkgdir/boot install + bad --gmake gmake ARCH=arm64 CC=cc HOSTCC=cc LEX=flex YACC=yacc LLVM=1 LLVM_IAS=1 INSTALL_DTBS_PATH=$pkgdir/boot dtbs_install + bad --gmake gmake ARCH=arm64 CC=cc HOSTCC=cc LEX=flex YACC=yacc LLVM=1 LLVM_IAS=1 INSTALL_MOD_PATH=$pkgdir/ modules_install mv $pkgdir/boot/broadcom/* $pkgdir/boot/ rmdir $pkgdir/boot/broadcom if stat /usr/bin/rsync 2>/dev/null /dev/null; then echo "using rsync" - gmake ARCH=arm64 CC=cc HOSTCC=cc LEX=flex YACC=yacc LLVM=1 LLVM_IAS=1 INSTALL_HDR_PATH=$pkgdir/usr headers_install + bad --gmake gmake ARCH=arm64 CC=cc HOSTCC=cc LEX=flex YACC=yacc LLVM=1 LLVM_IAS=1 INSTALL_HDR_PATH=$pkgdir/usr headers_install else - gmake ARCH=arm64 CC=cc HOSTCC=cc LEX=flex YACC=yacc LLVM=1 LLVM_IAS=1 headers + bad --gmake gmake ARCH=arm64 CC=cc HOSTCC=cc LEX=flex YACC=yacc LLVM=1 LLVM_IAS=1 headers find -name '.*' -exec rm {} \; rm usr/include/Makefile install -d $pkgdir/usr/ diff --git a/old/bin86/build.sh b/old/bin86/build.sh index 4683541..460556d 100644 --- a/old/bin86/build.sh +++ b/old/bin86/build.sh @@ -10,14 +10,14 @@ fetch() { build() { cd $pkgname-$pkgver - gmake PREFIX=/usr + bad --gmake gmake PREFIX=/usr } package() { cd $pkgname-$pkgver install -d $pkgdir/usr/bin install -d $pkgdir/usr/share/man/man1 - gmake PREFIX=$pkgdir/usr MANDIR=$pkgdir/usr/share/man/man1 install + bad --gmake gmake PREFIX=$pkgdir/usr MANDIR=$pkgdir/usr/share/man/man1 install } license() { diff --git a/old/dropbear/build.sh b/old/dropbear/build.sh index 9cda9ad..765e98d 100644 --- a/old/dropbear/build.sh +++ b/old/dropbear/build.sh @@ -15,12 +15,12 @@ build() { --build=x86_64-unknown-linux-musl \ --host=x86_64-unknown-linux-musl - gmake PROGRAMS='dropbear dbclient dropbearkey dropbearconvert scp' + bad --gmake gmake PROGRAMS='dropbear dbclient dropbearkey dropbearconvert scp' } package() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir PROGRAMS='dropbear dbclient dropbearkey dropbearconvert scp' + bad --gmake gmake install DESTDIR=$pkgdir PROGRAMS='dropbear dbclient dropbearkey dropbearconvert scp' ln -sr $pkgdir/usr/sbin/dropbear $pkgdir/usr/sbin/sshd ln -sr $pkgdir/usr/bin/dbclient $pkgdir/usr/bin/ssh rm -r $pkgdir/usr/share @@ -28,7 +28,7 @@ package() { package_doc() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir PROGRAMS='dropbear dbclient dropbearkey dropbearconvert scp' + bad --gmake gmake install DESTDIR=$pkgdir PROGRAMS='dropbear dbclient dropbearkey dropbearconvert scp' rm -r $pkgdir/usr/bin rm -r $pkgdir/usr/sbin } diff --git a/old/e2fsprogs/build.sh b/old/e2fsprogs/build.sh index ea56348..65d14e1 100644 --- a/old/e2fsprogs/build.sh +++ b/old/e2fsprogs/build.sh @@ -19,7 +19,7 @@ build() { #--exec_prefix=/ - gmake + bad --gmake gmake } package() { diff --git a/old/libnl/build.sh b/old/libnl/build.sh index 41ac795..4a04fbd 100644 --- a/old/libnl/build.sh +++ b/old/libnl/build.sh @@ -27,11 +27,11 @@ build() { patch -p1 < ../byacc-p-makefile.patch - gmake + bad --gmake gmake patch -p1 < ../byacc-comment-defines.patch - gmake + bad --gmake gmake } package() { diff --git a/old/lilo/build.sh b/old/lilo/build.sh index caa75e6..3704927 100644 --- a/old/lilo/build.sh +++ b/old/lilo/build.sh @@ -28,12 +28,12 @@ fetch() { build() { cd $pkgname-$pkgver - gmake CC="${CC:-clang}" + bad --gmake gmake CC="${CC:-clang}" } package() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir + bad --gmake gmake install DESTDIR=$pkgdir } license() { diff --git a/old/swc/build.sh b/old/swc/build.sh index 1d401eb..9325ca1 100644 --- a/old/swc/build.sh +++ b/old/swc/build.sh @@ -12,12 +12,12 @@ build() { cd $pkgname-$pkgver cp ../config.mk . - gmake PREFIX=/usr CC=cc + bad --gmake gmake PREFIX=/usr CC=cc } package() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir PREFIX=/usr + bad --gmake gmake install DESTDIR=$pkgdir PREFIX=/usr } license() { diff --git a/old/toolchain-aarch64/build.sh b/old/toolchain-aarch64/build.sh index 48b5704..281d64c 100644 --- a/old/toolchain-aarch64/build.sh +++ b/old/toolchain-aarch64/build.sh @@ -49,8 +49,8 @@ build() { --target=aarch64-unknown-linux-musl \ --enable-wrappers=no - gmake - gmake install DESTDIR=$pkgdir + bad --gmake gmake + bad --gmake gmake install DESTDIR=$pkgdir } package() { diff --git a/old/velox/build.sh b/old/velox/build.sh index bbce74c..34a07e7 100644 --- a/old/velox/build.sh +++ b/old/velox/build.sh @@ -13,12 +13,12 @@ build() { cp ../config.mk . cp ../velox.conf . - gmake PREFIX=/usr CC=cc + bad --gmake gmake PREFIX=/usr CC=cc } package() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir PREFIX=/usr + bad --gmake gmake install DESTDIR=$pkgdir PREFIX=/usr install -d $pkgdir/etc install -Dm644 velox.conf $pkgdir/etc/ } diff --git a/old/wld/build.sh b/old/wld/build.sh index 3d6764b..89ac4af 100644 --- a/old/wld/build.sh +++ b/old/wld/build.sh @@ -9,12 +9,12 @@ fetch() { build() { cd $pkgname-$pkgver - gmake PREFIX=/usr CC=cc + bad --gmake gmake PREFIX=/usr CC=cc } package() { cd $pkgname-$pkgver - gmake install DESTDIR=$pkgdir PREFIX=/usr + bad --gmake gmake install DESTDIR=$pkgdir PREFIX=/usr } license() { diff --git a/pkgs/nasm/build.sh b/pkgs/nasm/build.sh index 032c8e6..1c27ca3 100644 --- a/pkgs/nasm/build.sh +++ b/pkgs/nasm/build.sh @@ -15,18 +15,18 @@ build(){ --build=x86_64-unknown-linux-musl \ --host=x86_64-unknown-linux-musl \ --prefix=/usr - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver - gmake DESTDIR="$pkgdir" install + bad --gmake gmake DESTDIR="$pkgdir" install rm -r $pkgdir/usr/share } package_doc() { cd $pkgname-$pkgver - gmake DESTDIR="$pkgdir" install + bad --gmake gmake DESTDIR="$pkgdir" install rm -r $pkgdir/usr/bin } diff --git a/pkgs/squashfs-tools/build.sh b/pkgs/squashfs-tools/build.sh index 03c88df..11e09d7 100644 --- a/pkgs/squashfs-tools/build.sh +++ b/pkgs/squashfs-tools/build.sh @@ -9,13 +9,13 @@ fetch() { build() { cd $pkgname-$pkgver cd $pkgname - gmake + bad --gmake gmake } package() { cd $pkgname-$pkgver cd $pkgname - gmake install INSTALL_DIR=$pkgdir/usr/bin + bad --gmake gmake install INSTALL_DIR=$pkgdir/usr/bin } license() {