# HG changeset patch # User Pascal Bellard # Date 1519473070 -3600 # Node ID 3705d68ed8f3729e5f69d343f2efff2602eef5b2 # Parent 3407a40ec53b241605e99630e232c0e27363cd8b Force host arch to i486 diff -r 3407a40ec53b -r 3705d68ed8f3 amsn/receipt --- a/amsn/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/amsn/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -21,6 +21,7 @@ compile_rules() { cd $src + sed -i 's|uname -m|echo i486|' Makefile* patch -Np0 -i $stuff/$PACKAGE-v4l2.patch patch -Np0 -i $stuff/$PACKAGE-0.98.9-no-rebuild-on-install.patch ./configure --prefix=/usr \ diff -r 3407a40ec53b -r 3705d68ed8f3 blender/receipt --- a/blender/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/blender/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -42,6 +42,7 @@ -DPYTHON_LIBRARY:STRING=python3.4m \ -DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python3.4m # build + sed -i 's|uname -m|echo i486|' GNUmakefile make $MAKEFLAGS make DESTDIR=$DESTDIR install python3 -m compileall "$DESTDIR/usr/share/blender" diff -r 3407a40ec53b -r 3705d68ed8f3 busybox-slish/receipt --- a/busybox-slish/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/busybox-slish/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -15,6 +15,7 @@ # I dont want to compile all BB packages just for a basic build! # compile_rules() { + sed -i 's|uname -m|echo i486|' Makefile cp $stuff/busybox-${VERSION%.*}.config .config make oldconfig && make && make install || return 1 diff -r 3407a40ec53b -r 3705d68ed8f3 busybox/receipt --- a/busybox/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/busybox/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -67,6 +67,7 @@ x86_64) echo "TODO" ;; i?86) echo "=== Build busybox ===" + sed -i 's|uname -m|echo i486|' Makefile apply_bb_patchs && make oldconfig && make && make install || return 1 diff -r 3407a40ec53b -r 3705d68ed8f3 bzflag/receipt --- a/bzflag/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/bzflag/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -16,7 +16,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' package/Makefile* src/other/glew/config/Makefile.linux export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo" ./configure \ --with-glew \ diff -r 3407a40ec53b -r 3705d68ed8f3 ckermit/receipt --- a/ckermit/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/ckermit/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -16,6 +16,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' makefile make linux "LNKFLAGS=-lncurses -ltinfo" } diff -r 3407a40ec53b -r 3705d68ed8f3 cryptopp/receipt --- a/cryptopp/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/cryptopp/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -13,7 +13,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' GNUmakefile patch -Np1 < $stuff/$PACKAGE-$VERSION-gcc-4.7.0.patch make make libcryptopp.so diff -r 3407a40ec53b -r 3705d68ed8f3 dietlibc/receipt --- a/dietlibc/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/dietlibc/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -13,7 +13,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' libpthread/Makefile Makefile sed -i 's|.*/nice.S.*|// &|' i386/dyn_syscalls.S make prefix=/usr/lib/diet && #make dyn prefix=/usr/lib/diet && diff -r 3407a40ec53b -r 3705d68ed8f3 dmidecode/receipt --- a/dmidecode/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/dmidecode/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -15,7 +15,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' Makefile make make DESTDIR=$DESTDIR install } diff -r 3407a40ec53b -r 3705d68ed8f3 ebtables/receipt --- a/ebtables/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/ebtables/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -14,7 +14,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' Makefile sed -i 's/), ret = 0/), ret = ret - ret/' communication.c mkdir -p $DESTDIR/etc/rc.d/init.d/ $DESTDIR/etc/sysconfig/ make && make DESTDIR=$DESTDIR -j1 install diff -r 3407a40ec53b -r 3705d68ed8f3 eduke32/receipt --- a/eduke32/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/eduke32/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -17,7 +17,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' build/Makefile.shared make $MAKEFLAGS || return 1 mkdir $DESTDIR cp eduke32 mapster32 $DESTDIR diff -r 3407a40ec53b -r 3705d68ed8f3 emelfm2/receipt --- a/emelfm2/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/emelfm2/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -18,6 +18,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' Makefile sed -i 's|xpdf|epdfview|g' src/e2_filetype.c sed -i 's|gview|viewnior|g' src/e2_filetype.c sed -i 's|totem|xine|g' src/e2_filetype.c diff -r 3407a40ec53b -r 3705d68ed8f3 etherboot/receipt --- a/etherboot/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/etherboot/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -16,6 +16,7 @@ compile_rules() { cd $src/src + sed -i 's|uname -m|echo i486|' Makefile while read file; do [ -f done.$file ] && continue patch -p2 < $stuff/$file diff -r 3407a40ec53b -r 3705d68ed8f3 flashrom/receipt --- a/flashrom/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/flashrom/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -16,7 +16,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' Makefile sed -i 's|/usr/local$|/usr|' Makefile make && make DESTDIR=$DESTDIR install } diff -r 3407a40ec53b -r 3705d68ed8f3 foo2xqx/receipt --- a/foo2xqx/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/foo2xqx/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -25,6 +25,7 @@ FOO2SLX="500" FOO2HIPERC="301 c310 c810 3100 3200 3300 3400 3530 5100 5200 5500 5600 5800 160" FOO2QPDL="300 310 315 325 360 365 2160 3160 3175 3185 6110 600 610" + sed -i 's|uname -m|echo i486|' Makefile make for i in $FOO2XQX $FOO2ZJS $FOO2HP $FOO2OAK $FOO2LAVA \ $FOO2SLX $FOO2HIPERC $FOO2QPDL ; do diff -r 3407a40ec53b -r 3705d68ed8f3 freeimage/receipt --- a/freeimage/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/freeimage/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -17,7 +17,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' Makefile.* patch -Np1 -i $stuff/gcc4.5_ln.patch pkgdir=$DESTDIR incl=$pkgdir/usr/include diff -r 3407a40ec53b -r 3705d68ed8f3 glew/receipt --- a/glew/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/glew/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -24,7 +24,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' config/Makefile* make && make GLEW_DEST=$DESTDIR/usr install } diff -r 3407a40ec53b -r 3705d68ed8f3 gnuplot/receipt --- a/gnuplot/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/gnuplot/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -20,6 +20,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' src/beos/Makefile* export LDFLAGS="$LDFLAGS -ltinfo" ./configure \ --prefix=/usr \ diff -r 3407a40ec53b -r 3705d68ed8f3 gpxe/receipt --- a/gpxe/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/gpxe/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -16,6 +16,7 @@ compile_rules() { cd $src/src + sed -i 's|uname -m|echo i486|' Makefile for i in prefix.u default_boot.u cmdline.u url_list.u gcc.u; do [ -f done.$i ] && continue echo "Apply $i..." diff -r 3407a40ec53b -r 3705d68ed8f3 icedtea6-jdk/receipt --- a/icedtea6-jdk/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/icedtea6-jdk/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -45,6 +45,7 @@ local ECJ_VERSION ECJ_VERSION="3.6" + find $src -name '*akefile*' \; | xargs sed -i sed -i 's|uname -m|echo i486|' cd $src mkdir drops sed -i -e 's/mkdir -p drops/true/' -e 's/ jar xf/ fastjar xf/' Makefile* diff -r 3407a40ec53b -r 3705d68ed8f3 iptraf/receipt --- a/iptraf/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/iptraf/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -18,6 +18,7 @@ compile_rules() { cd $src/src + sed -i 's|uname -m|echo i486|' Makefile sed -i 's/lncurses/& -ltinfo/' Makefile mkdir -p $DESTDIR/usr/bin 2> /dev/null sed -i 's/ARPHRD_PPP:$/& case ARPHRD_NONE:/' packet.c diff -r 3407a40ec53b -r 3705d68ed8f3 jdk7-hotspot/receipt --- a/jdk7-hotspot/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/jdk7-hotspot/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -17,5 +17,6 @@ # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { + find $src -name '*akefile*' \; | xargs sed -i 's|uname -m|echo i486|' mkdir -p $fs/usr } diff -r 3407a40ec53b -r 3705d68ed8f3 jdk7-langtools/receipt --- a/jdk7-langtools/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/jdk7-langtools/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -17,5 +17,6 @@ # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { + sed -i 's|uname -m|echo i486|' test/Makefile mkdir -p $fs/usr } diff -r 3407a40ec53b -r 3705d68ed8f3 kamailio/receipt --- a/kamailio/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/kamailio/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -20,6 +20,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' Makefile.defs make PREFIX="/usr" include_modules="acc_radius app_python auth_radius \ db_postgres ldap presence_conference presence_dialoginfo presence_mwi \ presence_profile presence_reginfo presence_xml snmpstats xmpp dialplan" cfg diff -r 3407a40ec53b -r 3705d68ed8f3 lame/receipt --- a/lame/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/lame/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -21,6 +21,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' Makefile.unix export LDFLAGS="$LDFLAGS -ltinfo" ./configure \ --prefix=/usr \ diff -r 3407a40ec53b -r 3705d68ed8f3 lessfs/receipt --- a/lessfs/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/lessfs/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -18,6 +18,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' Makefile* export LDFLAGS="$LDFLAGS -lpthread" ./configure --prefix=/usr --infodir=/usr/share/info \ --mandir=/usr/share/man \ diff -r 3407a40ec53b -r 3705d68ed8f3 libaio/receipt --- a/libaio/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/libaio/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -16,7 +16,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' src/Makefile make prefix=/usr } diff -r 3407a40ec53b -r 3705d68ed8f3 libgtop/receipt --- a/libgtop/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/libgtop/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -16,7 +16,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' src/Makefile src/daemon/Makefile* ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && diff -r 3407a40ec53b -r 3705d68ed8f3 libpri/receipt --- a/libpri/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/libpri/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -13,7 +13,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' Makefile export CFLAGS="-Wno-error=unused-but-set-variable" sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' q921.c make diff -r 3407a40ec53b -r 3705d68ed8f3 lm-sensors/receipt --- a/lm-sensors/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/lm-sensors/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -18,6 +18,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' Makefile sed -i 's|/man|/share&|' Makefile patch -p0 < $stuff/linux-3.0.patch && make PREFIX=/usr PROG_EXTRA=sensord DESTDIR=$DESTDIR install 2>&1 | \ diff -r 3407a40ec53b -r 3705d68ed8f3 mailx/receipt --- a/mailx/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/mailx/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -15,6 +15,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' Makefile sed -i 's|STACK|STACK_OF(X509)|' openssl.c make SENDMAIL=/usr/sbin/sendmail && make PREFIX=/usr UCBINSTALL=/usr/bin/install \ diff -r 3407a40ec53b -r 3705d68ed8f3 miniupnpd/receipt --- a/miniupnpd/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/miniupnpd/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -17,6 +17,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' Makefile* netfilter*/Makefile mkdir -p $DESTDIR/usr/share/man/man8 sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' netfilter/iptables_init.sh make -f Makefile.linux config.h diff -r 3407a40ec53b -r 3705d68ed8f3 mongodb/receipt --- a/mongodb/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/mongodb/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -18,8 +18,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src - + find $src -name Makefile.in \; | xargs sed -i 's|uname -m|echo i486|' sed -i 's/native_directory_//' db*/*.cpp sed -i 's/native_file_//' db*/*.cpp shell/shell_utils.cpp sed -i 's/leaf()/leaf().string()/' */*.cpp diff -r 3407a40ec53b -r 3705d68ed8f3 mupen64plus/receipt --- a/mupen64plus/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/mupen64plus/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -19,6 +19,7 @@ # Rules to configure and make the package. compile_rules() { + find $src -name Makefile \; | xargs sed -i 's|uname -m|echo i486|' export PREFIX=/usr DESTDIR=$install ./m64p_build.sh && ./m64p_install.sh diff -r 3407a40ec53b -r 3705d68ed8f3 node/receipt --- a/node/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/node/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -17,6 +17,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' Makefile export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH" export CXX=/usr/bin/i486-slitaz-linux-g++-49 export CC=/usr/bin/i486-slitaz-linux-gcc-49 diff -r 3407a40ec53b -r 3705d68ed8f3 notecase/receipt --- a/notecase/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/notecase/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -21,6 +21,7 @@ export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" busybox patch -p1 -i $stuff/notecase-1.9.8_gcc4.u || return 1 + sed -i 's|uname -m|echo i486|' Makefile sed -i s/'install -D'/'install'/ Makefile sed -i 's/^DEBSIZE:=.*/DEBSIZE:=0/' Makefile* # Compile diff -r 3407a40ec53b -r 3705d68ed8f3 nvidia-173xx/receipt --- a/nvidia-173xx/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/nvidia-173xx/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -22,6 +22,7 @@ compile_rules() { cd $src/usr/src/nv/ + sed -i 's|uname -m|echo i486|' Makefile* # Only use .unblocked_ioctl since 2.6.36 sed -i 's|\.ioctl|// &|' nv.c make SYSSRC="/usr/src/linux" module 2>&1 | sed s'/ERROR:/error:/' diff -r 3407a40ec53b -r 3705d68ed8f3 o3read/receipt --- a/o3read/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/o3read/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -16,6 +16,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' Makefile sed -i 's|/man/|/share&|' Makefile make install PREFIX=$DESTDIR/usr } diff -r 3407a40ec53b -r 3705d68ed8f3 opencsg/receipt --- a/opencsg/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/opencsg/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -18,6 +18,7 @@ # compile_rules() { + sed -i 's|uname -m|echo i486|' glew/config/Makefile* for i in /usr/lib /usr/bin /bin /usr/include ; do mkdir -p $DESTDIR$i done diff -r 3407a40ec53b -r 3705d68ed8f3 openjdk-6-src/receipt --- a/openjdk-6-src/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/openjdk-6-src/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -14,5 +14,6 @@ # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { + find $src -name Makefile \; | xargs sed -i 's|uname -m|echo i486|' mkdir -p $fs/usr } diff -r 3407a40ec53b -r 3705d68ed8f3 openjdk-7-src/receipt --- a/openjdk-7-src/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/openjdk-7-src/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -15,5 +15,6 @@ # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { + find $src -name Makefile \; | xargs sed -i 's|uname -m|echo i486|' mkdir -p $fs/usr } diff -r 3407a40ec53b -r 3705d68ed8f3 perl-crypt-ssleay/receipt --- a/perl-crypt-ssleay/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/perl-crypt-ssleay/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -19,7 +19,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' Makefile.PL yes '' | perl Makefile.PL --default && make && make DESTDIR=$DESTDIR install diff -r 3407a40ec53b -r 3705d68ed8f3 prelink/receipt --- a/prelink/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/prelink/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -16,6 +16,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' testsuite/Makefile sed -i 's/^LIBS.*/& -lpthread/' src/Makefile* ./configure $CONFIGURE_ARGS && make && make install } diff -r 3407a40ec53b -r 3705d68ed8f3 python-pycryptopp/receipt --- a/python-pycryptopp/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/python-pycryptopp/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -17,6 +17,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' src-cryptopp/GNUmakefile python setup.py build python setup.py install --root=$DESTDIR } diff -r 3407a40ec53b -r 3705d68ed8f3 qemu-light/receipt --- a/qemu-light/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/qemu-light/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -20,8 +20,8 @@ # Rules to configure and make the package. compile_rules() { - cd $src TARGET="i386-softmmu" + sed -i 's|uname -m|echo i486|' roms/openbios/utils/devbios/Makefile* ./configure \ --prefix=/usr \ --disable-xen \ diff -r 3407a40ec53b -r 3705d68ed8f3 qemu/receipt --- a/qemu/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/qemu/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -22,6 +22,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' roms/openbios/utils/devbios/Makefile* mkdir -p $DESTDIR/usr/share/qemu/ia32 [ -s $SOURCES_REPOSITORY/$UEFIZIP ] || wget -P $SOURCES_REPOSITORY \ diff -r 3407a40ec53b -r 3705d68ed8f3 realvnc-viewer/receipt --- a/realvnc-viewer/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/realvnc-viewer/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -21,6 +21,7 @@ compile_rules() { mv vnc4* $src 2> /dev/null + find $src -name Makefile.linux \; | xargs sed -i 's|uname -m|echo i486|' cd $src case "$ARCH" in arm*) sed -i 's/(AR)/& rc/' common/zlib/Makefile.in ;; diff -r 3407a40ec53b -r 3705d68ed8f3 retawq/receipt --- a/retawq/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/retawq/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -18,6 +18,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' Makefile-classical export LDFLAGS="-ltinfo" # We have no locale support on ARM actually case "$ARCH" in diff -r 3407a40ec53b -r 3705d68ed8f3 spidermonkey/receipt --- a/spidermonkey/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/spidermonkey/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -19,6 +19,7 @@ compile_rules() { cd $src/src + sed -i 's|uname -m|echo i486|' fdlibm/Makefile.in # Fix from Archlinux # http://projects.archlinux.org/svntogit/community.git/tree/spidermonkey/trunk/PKGBUILD diff -r 3407a40ec53b -r 3705d68ed8f3 truecrypt/receipt --- a/truecrypt/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/truecrypt/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -16,6 +16,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' Makefile sed -i 's/^export LFLAGS :=$/& -Wl,--copy-dt-needed-entries -ldl/' Makefile export PKCS11_INC="/usr/include/pkcs" cd $src diff -r 3407a40ec53b -r 3705d68ed8f3 uml-utilities/receipt --- a/uml-utilities/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/uml-utilities/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -18,7 +18,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' Makefile make && make DESTDIR=$DESTDIR install } diff -r 3407a40ec53b -r 3705d68ed8f3 unzip/receipt --- a/unzip/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/unzip/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -14,6 +14,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' beos/Makefile ln -sf $WOK/$PACKAGE/$PACKAGE${VERSION//./} $WOK/$PACKAGE/$PACKAGE-$VERSION make -f unix/Makefile generic diff -r 3407a40ec53b -r 3705d68ed8f3 vice/receipt --- a/vice/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/vice/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -16,7 +16,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' src/lib/liblame/Makefile.unix sed -i 's/cp .(fontsdir)/echo &/' data/fonts/Makefile.* ./configure \ --prefix=/usr \ diff -r 3407a40ec53b -r 3705d68ed8f3 virtualbox-ose/receipt --- a/virtualbox-ose/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/virtualbox-ose/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -26,6 +26,7 @@ # Rules to configure and make the package. compile_rules() { + find $src -name '*akefile*' \; | xargs sed -i 's|uname -m|echo i486|' cp $stuff/LocalConfig.kmk . ./configure \ --disable-pulse \ diff -r 3407a40ec53b -r 3705d68ed8f3 vzquota/receipt --- a/vzquota/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/vzquota/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -15,7 +15,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|uname -m|echo i486|' src/Makefile # Apply patches while read patch_file; do if [ -f done.$patch_file ]; then diff -r 3407a40ec53b -r 3705d68ed8f3 xdotool/receipt --- a/xdotool/receipt Sat Feb 24 11:30:52 2018 +0100 +++ b/xdotool/receipt Sat Feb 24 12:51:10 2018 +0100 @@ -16,6 +16,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i486|' Makefile make && make PREFIX=/usr INSTALLMAN=/usr/share/man DESTDIR=$DESTDIR install }