wok-current rev 20212

Force host arch to i486
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 12:51:10 2018 +0100 (2018-02-24)
parents 3407a40ec53b
children 77e92b628f39
files amsn/receipt blender/receipt busybox-slish/receipt busybox/receipt bzflag/receipt ckermit/receipt cryptopp/receipt dietlibc/receipt dmidecode/receipt ebtables/receipt eduke32/receipt emelfm2/receipt etherboot/receipt flashrom/receipt foo2xqx/receipt freeimage/receipt glew/receipt gnuplot/receipt gpxe/receipt icedtea6-jdk/receipt iptraf/receipt jdk7-hotspot/receipt jdk7-langtools/receipt kamailio/receipt lame/receipt lessfs/receipt libaio/receipt libgtop/receipt libpri/receipt lm-sensors/receipt mailx/receipt miniupnpd/receipt mongodb/receipt mupen64plus/receipt node/receipt notecase/receipt nvidia-173xx/receipt o3read/receipt opencsg/receipt openjdk-6-src/receipt openjdk-7-src/receipt perl-crypt-ssleay/receipt prelink/receipt python-pycryptopp/receipt qemu-light/receipt qemu/receipt realvnc-viewer/receipt retawq/receipt spidermonkey/receipt truecrypt/receipt uml-utilities/receipt unzip/receipt vice/receipt virtualbox-ose/receipt vzquota/receipt xdotool/receipt
line diff
     1.1 --- a/amsn/receipt	Sat Feb 24 11:30:52 2018 +0100
     1.2 +++ b/amsn/receipt	Sat Feb 24 12:51:10 2018 +0100
     1.3 @@ -21,6 +21,7 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	sed -i 's|uname -m|echo i486|' Makefile*
     1.8  	patch -Np0 -i $stuff/$PACKAGE-v4l2.patch
     1.9  	patch -Np0 -i $stuff/$PACKAGE-0.98.9-no-rebuild-on-install.patch
    1.10  	./configure --prefix=/usr \
     2.1 --- a/blender/receipt	Sat Feb 24 11:30:52 2018 +0100
     2.2 +++ b/blender/receipt	Sat Feb 24 12:51:10 2018 +0100
     2.3 @@ -42,6 +42,7 @@
     2.4  		-DPYTHON_LIBRARY:STRING=python3.4m \
     2.5  		-DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python3.4m
     2.6  	# build
     2.7 +	sed -i 's|uname -m|echo i486|' GNUmakefile
     2.8  	make $MAKEFLAGS
     2.9  	make DESTDIR=$DESTDIR install
    2.10  	python3 -m compileall "$DESTDIR/usr/share/blender"
     3.1 --- a/busybox-slish/receipt	Sat Feb 24 11:30:52 2018 +0100
     3.2 +++ b/busybox-slish/receipt	Sat Feb 24 12:51:10 2018 +0100
     3.3 @@ -15,6 +15,7 @@
     3.4  # I dont want to compile all BB packages just for a basic build!
     3.5  #
     3.6  compile_rules() {
     3.7 +	sed -i 's|uname -m|echo i486|' Makefile
     3.8  	cp $stuff/busybox-${VERSION%.*}.config .config
     3.9  	make oldconfig && 
    3.10  	make && make install || return 1
     4.1 --- a/busybox/receipt	Sat Feb 24 11:30:52 2018 +0100
     4.2 +++ b/busybox/receipt	Sat Feb 24 12:51:10 2018 +0100
     4.3 @@ -67,6 +67,7 @@
     4.4  		x86_64) echo "TODO" ;;
     4.5  		i?86)
     4.6  			echo "=== Build busybox ==="
     4.7 +			sed -i 's|uname -m|echo i486|' Makefile
     4.8  			apply_bb_patchs &&
     4.9  			make oldconfig &&
    4.10  			make && make install || return 1
     5.1 --- a/bzflag/receipt	Sat Feb 24 11:30:52 2018 +0100
     5.2 +++ b/bzflag/receipt	Sat Feb 24 12:51:10 2018 +0100
     5.3 @@ -16,7 +16,7 @@
     5.4  # Rules to configure and make the package.
     5.5  compile_rules()
     5.6  {
     5.7 -	cd $src
     5.8 +	sed -i 's|uname -m|echo i486|' package/Makefile* src/other/glew/config/Makefile.linux
     5.9  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo"
    5.10  	./configure \
    5.11  		--with-glew \
     6.1 --- a/ckermit/receipt	Sat Feb 24 11:30:52 2018 +0100
     6.2 +++ b/ckermit/receipt	Sat Feb 24 12:51:10 2018 +0100
     6.3 @@ -16,6 +16,7 @@
     6.4  # Rules to configure and make the package.
     6.5  compile_rules()
     6.6  {
     6.7 +	sed -i 's|uname -m|echo i486|' makefile
     6.8  	make linux "LNKFLAGS=-lncurses -ltinfo"
     6.9  }
    6.10  
     7.1 --- a/cryptopp/receipt	Sat Feb 24 11:30:52 2018 +0100
     7.2 +++ b/cryptopp/receipt	Sat Feb 24 12:51:10 2018 +0100
     7.3 @@ -13,7 +13,7 @@
     7.4  # Rules to configure and make the package.
     7.5  compile_rules()
     7.6  {
     7.7 -	cd $src
     7.8 +	sed -i 's|uname -m|echo i486|' GNUmakefile
     7.9  	patch -Np1 < $stuff/$PACKAGE-$VERSION-gcc-4.7.0.patch
    7.10  	make 
    7.11  	make libcryptopp.so
     8.1 --- a/dietlibc/receipt	Sat Feb 24 11:30:52 2018 +0100
     8.2 +++ b/dietlibc/receipt	Sat Feb 24 12:51:10 2018 +0100
     8.3 @@ -13,7 +13,7 @@
     8.4  # Rules to configure and make the package.
     8.5  compile_rules()
     8.6  {
     8.7 -	cd $src
     8.8 +	sed -i 's|uname -m|echo i486|' libpthread/Makefile Makefile
     8.9  	sed -i 's|.*/nice.S.*|// &|' i386/dyn_syscalls.S
    8.10  	make prefix=/usr/lib/diet && 
    8.11  	#make dyn prefix=/usr/lib/diet && 
     9.1 --- a/dmidecode/receipt	Sat Feb 24 11:30:52 2018 +0100
     9.2 +++ b/dmidecode/receipt	Sat Feb 24 12:51:10 2018 +0100
     9.3 @@ -15,7 +15,7 @@
     9.4  # Rules to configure and make the package.
     9.5  compile_rules()
     9.6  {
     9.7 -	cd $src
     9.8 +	sed -i 's|uname -m|echo i486|' Makefile
     9.9  	make
    9.10  	make DESTDIR=$DESTDIR install
    9.11  }
    10.1 --- a/ebtables/receipt	Sat Feb 24 11:30:52 2018 +0100
    10.2 +++ b/ebtables/receipt	Sat Feb 24 12:51:10 2018 +0100
    10.3 @@ -14,7 +14,7 @@
    10.4  # Rules to configure and make the package.
    10.5  compile_rules()
    10.6  {
    10.7 -	cd $src
    10.8 +	sed -i 's|uname -m|echo i486|' Makefile
    10.9  	sed -i 's/), ret = 0/), ret = ret - ret/' communication.c
   10.10  	mkdir -p $DESTDIR/etc/rc.d/init.d/ $DESTDIR/etc/sysconfig/
   10.11  	make && make DESTDIR=$DESTDIR -j1 install
    11.1 --- a/eduke32/receipt	Sat Feb 24 11:30:52 2018 +0100
    11.2 +++ b/eduke32/receipt	Sat Feb 24 12:51:10 2018 +0100
    11.3 @@ -17,7 +17,7 @@
    11.4  # Rules to configure and make the package.
    11.5  compile_rules()
    11.6  {
    11.7 -	cd $src
    11.8 +	sed -i 's|uname -m|echo i486|' build/Makefile.shared
    11.9  	make $MAKEFLAGS || return 1
   11.10      	mkdir $DESTDIR
   11.11      	cp eduke32 mapster32 $DESTDIR
    12.1 --- a/emelfm2/receipt	Sat Feb 24 11:30:52 2018 +0100
    12.2 +++ b/emelfm2/receipt	Sat Feb 24 12:51:10 2018 +0100
    12.3 @@ -18,6 +18,7 @@
    12.4  # Rules to configure and make the package.
    12.5  compile_rules()
    12.6  {
    12.7 +	sed -i 's|uname -m|echo i486|' Makefile
    12.8  	sed -i 's|xpdf|epdfview|g' src/e2_filetype.c
    12.9  	sed -i 's|gview|viewnior|g' src/e2_filetype.c
   12.10  	sed -i 's|totem|xine|g' src/e2_filetype.c
    13.1 --- a/etherboot/receipt	Sat Feb 24 11:30:52 2018 +0100
    13.2 +++ b/etherboot/receipt	Sat Feb 24 12:51:10 2018 +0100
    13.3 @@ -16,6 +16,7 @@
    13.4  compile_rules()
    13.5  {
    13.6  	cd $src/src
    13.7 +	sed -i 's|uname -m|echo i486|' Makefile
    13.8  	while read file; do
    13.9  		[ -f done.$file ] && continue
   13.10  		patch -p2 < $stuff/$file
    14.1 --- a/flashrom/receipt	Sat Feb 24 11:30:52 2018 +0100
    14.2 +++ b/flashrom/receipt	Sat Feb 24 12:51:10 2018 +0100
    14.3 @@ -16,7 +16,7 @@
    14.4  # Rules to configure and make the package.
    14.5  compile_rules()
    14.6  {
    14.7 -	cd $src
    14.8 +	sed -i 's|uname -m|echo i486|' Makefile
    14.9  	sed -i 's|/usr/local$|/usr|' Makefile
   14.10  	make && make DESTDIR=$DESTDIR install
   14.11  }
    15.1 --- a/foo2xqx/receipt	Sat Feb 24 11:30:52 2018 +0100
    15.2 +++ b/foo2xqx/receipt	Sat Feb 24 12:51:10 2018 +0100
    15.3 @@ -25,6 +25,7 @@
    15.4  	FOO2SLX="500"
    15.5  	FOO2HIPERC="301 c310 c810 3100 3200 3300 3400 3530 5100 5200 5500 5600 5800 160"
    15.6  	FOO2QPDL="300 310 315 325 360 365 2160 3160 3175 3185 6110 600 610"
    15.7 +	sed -i 's|uname -m|echo i486|' Makefile
    15.8  	make
    15.9  	for i in $FOO2XQX $FOO2ZJS $FOO2HP $FOO2OAK $FOO2LAVA \
   15.10  		 $FOO2SLX $FOO2HIPERC $FOO2QPDL ; do
    16.1 --- a/freeimage/receipt	Sat Feb 24 11:30:52 2018 +0100
    16.2 +++ b/freeimage/receipt	Sat Feb 24 12:51:10 2018 +0100
    16.3 @@ -17,7 +17,7 @@
    16.4  # Rules to configure and make the package.
    16.5  compile_rules()
    16.6  {
    16.7 -	cd $src
    16.8 +	sed -i 's|uname -m|echo i486|' Makefile.*
    16.9  	patch -Np1 -i $stuff/gcc4.5_ln.patch
   16.10  	pkgdir=$DESTDIR
   16.11  	incl=$pkgdir/usr/include
    17.1 --- a/glew/receipt	Sat Feb 24 11:30:52 2018 +0100
    17.2 +++ b/glew/receipt	Sat Feb 24 12:51:10 2018 +0100
    17.3 @@ -24,7 +24,7 @@
    17.4  # Rules to configure and make the package.
    17.5  compile_rules()
    17.6  {
    17.7 -	cd $src
    17.8 +	sed -i 's|uname -m|echo i486|' config/Makefile*
    17.9  	make && make GLEW_DEST=$DESTDIR/usr install
   17.10  }
   17.11  
    18.1 --- a/gnuplot/receipt	Sat Feb 24 11:30:52 2018 +0100
    18.2 +++ b/gnuplot/receipt	Sat Feb 24 12:51:10 2018 +0100
    18.3 @@ -20,6 +20,7 @@
    18.4  # Rules to configure and make the package.
    18.5  compile_rules()
    18.6  {
    18.7 +	sed -i 's|uname -m|echo i486|' src/beos/Makefile*
    18.8  	export LDFLAGS="$LDFLAGS -ltinfo"
    18.9  	./configure \
   18.10  		--prefix=/usr \
    19.1 --- a/gpxe/receipt	Sat Feb 24 11:30:52 2018 +0100
    19.2 +++ b/gpxe/receipt	Sat Feb 24 12:51:10 2018 +0100
    19.3 @@ -16,6 +16,7 @@
    19.4  compile_rules()
    19.5  {
    19.6  	cd $src/src
    19.7 +	sed -i 's|uname -m|echo i486|' Makefile
    19.8  	for i in prefix.u default_boot.u cmdline.u url_list.u gcc.u; do
    19.9  		[ -f done.$i ] && continue
   19.10  		echo "Apply $i..."
    20.1 --- a/icedtea6-jdk/receipt	Sat Feb 24 11:30:52 2018 +0100
    20.2 +++ b/icedtea6-jdk/receipt	Sat Feb 24 12:51:10 2018 +0100
    20.3 @@ -45,6 +45,7 @@
    20.4  	local ECJ_VERSION
    20.5  	ECJ_VERSION="3.6"
    20.6  
    20.7 +	find $src -name '*akefile*' \; | xargs sed -i sed -i 's|uname -m|echo i486|' 
    20.8  	cd $src
    20.9  	mkdir drops
   20.10  	sed -i -e 's/mkdir -p drops/true/' -e 's/ jar xf/ fastjar xf/'  Makefile*
    21.1 --- a/iptraf/receipt	Sat Feb 24 11:30:52 2018 +0100
    21.2 +++ b/iptraf/receipt	Sat Feb 24 12:51:10 2018 +0100
    21.3 @@ -18,6 +18,7 @@
    21.4  compile_rules()
    21.5  {
    21.6  	cd $src/src
    21.7 +	sed -i 's|uname -m|echo i486|' Makefile
    21.8  	sed -i 's/lncurses/& -ltinfo/' Makefile
    21.9  	mkdir -p $DESTDIR/usr/bin 2> /dev/null
   21.10  	sed -i 's/ARPHRD_PPP:$/& case ARPHRD_NONE:/' packet.c
    22.1 --- a/jdk7-hotspot/receipt	Sat Feb 24 11:30:52 2018 +0100
    22.2 +++ b/jdk7-hotspot/receipt	Sat Feb 24 12:51:10 2018 +0100
    22.3 @@ -17,5 +17,6 @@
    22.4  # Rules to gen a SliTaz package suitable for Tazpkg.
    22.5  compile_rules()
    22.6  {
    22.7 +	find $src -name '*akefile*' \; | xargs sed -i 's|uname -m|echo i486|'
    22.8  	mkdir -p $fs/usr
    22.9  }
    23.1 --- a/jdk7-langtools/receipt	Sat Feb 24 11:30:52 2018 +0100
    23.2 +++ b/jdk7-langtools/receipt	Sat Feb 24 12:51:10 2018 +0100
    23.3 @@ -17,5 +17,6 @@
    23.4  # Rules to gen a SliTaz package suitable for Tazpkg.
    23.5  compile_rules()
    23.6  {
    23.7 +	sed -i 's|uname -m|echo i486|' test/Makefile
    23.8  	mkdir -p $fs/usr
    23.9  }
    24.1 --- a/kamailio/receipt	Sat Feb 24 11:30:52 2018 +0100
    24.2 +++ b/kamailio/receipt	Sat Feb 24 12:51:10 2018 +0100
    24.3 @@ -20,6 +20,7 @@
    24.4  # Rules to configure and make the package.
    24.5  compile_rules()
    24.6  {
    24.7 +	sed -i 's|uname -m|echo i486|' Makefile.defs
    24.8  	make PREFIX="/usr" include_modules="acc_radius app_python auth_radius \
    24.9  db_postgres ldap presence_conference presence_dialoginfo presence_mwi \
   24.10  presence_profile presence_reginfo presence_xml snmpstats xmpp dialplan" cfg
    25.1 --- a/lame/receipt	Sat Feb 24 11:30:52 2018 +0100
    25.2 +++ b/lame/receipt	Sat Feb 24 12:51:10 2018 +0100
    25.3 @@ -21,6 +21,7 @@
    25.4  # Rules to configure and make the package.
    25.5  compile_rules()
    25.6  {
    25.7 +	sed -i 's|uname -m|echo i486|' Makefile.unix
    25.8  	export LDFLAGS="$LDFLAGS -ltinfo"
    25.9  	./configure \
   25.10  		--prefix=/usr \
    26.1 --- a/lessfs/receipt	Sat Feb 24 11:30:52 2018 +0100
    26.2 +++ b/lessfs/receipt	Sat Feb 24 12:51:10 2018 +0100
    26.3 @@ -18,6 +18,7 @@
    26.4  # Rules to configure and make the package.
    26.5  compile_rules()
    26.6  {
    26.7 +	sed -i 's|uname -m|echo i486|' Makefile*
    26.8  	export LDFLAGS="$LDFLAGS -lpthread"
    26.9  	./configure --prefix=/usr --infodir=/usr/share/info \
   26.10  		--mandir=/usr/share/man \
    27.1 --- a/libaio/receipt	Sat Feb 24 11:30:52 2018 +0100
    27.2 +++ b/libaio/receipt	Sat Feb 24 12:51:10 2018 +0100
    27.3 @@ -16,7 +16,7 @@
    27.4  # Rules to configure and make the package.
    27.5  compile_rules()
    27.6  {
    27.7 -	cd $src
    27.8 +	sed -i 's|uname -m|echo i486|' src/Makefile
    27.9  	make prefix=/usr
   27.10  }
   27.11  
    28.1 --- a/libgtop/receipt	Sat Feb 24 11:30:52 2018 +0100
    28.2 +++ b/libgtop/receipt	Sat Feb 24 12:51:10 2018 +0100
    28.3 @@ -16,7 +16,7 @@
    28.4  # Rules to configure and make the package.
    28.5  compile_rules()
    28.6  {
    28.7 -	cd $src
    28.8 +	sed -i 's|uname -m|echo i486|' src/Makefile src/daemon/Makefile*
    28.9  	./configure \
   28.10  		--prefix=/usr \
   28.11  		$CONFIGURE_ARGS &&
    29.1 --- a/libpri/receipt	Sat Feb 24 11:30:52 2018 +0100
    29.2 +++ b/libpri/receipt	Sat Feb 24 12:51:10 2018 +0100
    29.3 @@ -13,7 +13,7 @@
    29.4  # Rules to configure and make the package.
    29.5  compile_rules()
    29.6  {
    29.7 -	cd $src
    29.8 +	sed -i 's|uname -m|echo i486|' Makefile
    29.9  	export CFLAGS="-Wno-error=unused-but-set-variable"
   29.10  	sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' q921.c
   29.11  	make
    30.1 --- a/lm-sensors/receipt	Sat Feb 24 11:30:52 2018 +0100
    30.2 +++ b/lm-sensors/receipt	Sat Feb 24 12:51:10 2018 +0100
    30.3 @@ -18,6 +18,7 @@
    30.4  # Rules to configure and make the package.
    30.5  compile_rules()
    30.6  {
    30.7 +	sed -i 's|uname -m|echo i486|' Makefile
    30.8  	sed -i 's|/man|/share&|' Makefile
    30.9  	patch -p0 < $stuff/linux-3.0.patch &&
   30.10  	make PREFIX=/usr PROG_EXTRA=sensord DESTDIR=$DESTDIR install 2>&1 | \
    31.1 --- a/mailx/receipt	Sat Feb 24 11:30:52 2018 +0100
    31.2 +++ b/mailx/receipt	Sat Feb 24 12:51:10 2018 +0100
    31.3 @@ -15,6 +15,7 @@
    31.4  # Rules to configure and make the package.
    31.5  compile_rules()
    31.6  {
    31.7 +	sed -i 's|uname -m|echo i486|' Makefile
    31.8  	sed -i 's|STACK|STACK_OF(X509)|' openssl.c
    31.9  	make SENDMAIL=/usr/sbin/sendmail &&
   31.10  	make PREFIX=/usr UCBINSTALL=/usr/bin/install \
    32.1 --- a/miniupnpd/receipt	Sat Feb 24 11:30:52 2018 +0100
    32.2 +++ b/miniupnpd/receipt	Sat Feb 24 12:51:10 2018 +0100
    32.3 @@ -17,6 +17,7 @@
    32.4  # Rules to configure and make the package.
    32.5  compile_rules()
    32.6  {
    32.7 +	sed -i 's|uname -m|echo i486|' Makefile* netfilter*/Makefile
    32.8  	mkdir -p $DESTDIR/usr/share/man/man8
    32.9  	sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' netfilter/iptables_init.sh
   32.10  	make -f Makefile.linux config.h
    33.1 --- a/mongodb/receipt	Sat Feb 24 11:30:52 2018 +0100
    33.2 +++ b/mongodb/receipt	Sat Feb 24 12:51:10 2018 +0100
    33.3 @@ -18,8 +18,7 @@
    33.4  # Rules to configure and make the package.
    33.5  compile_rules()
    33.6  {
    33.7 -	cd $src
    33.8 -
    33.9 +	find $src -name Makefile.in \; | xargs sed -i 's|uname -m|echo i486|'
   33.10  	sed -i 's/native_directory_//' db*/*.cpp
   33.11  	sed -i 's/native_file_//' db*/*.cpp shell/shell_utils.cpp
   33.12  	sed -i 's/leaf()/leaf().string()/' */*.cpp
    34.1 --- a/mupen64plus/receipt	Sat Feb 24 11:30:52 2018 +0100
    34.2 +++ b/mupen64plus/receipt	Sat Feb 24 12:51:10 2018 +0100
    34.3 @@ -19,6 +19,7 @@
    34.4  # Rules to configure and make the package.
    34.5  compile_rules()
    34.6  {
    34.7 +	find $src -name Makefile \; | xargs sed -i 's|uname -m|echo i486|'
    34.8  	export PREFIX=/usr DESTDIR=$install
    34.9  	./m64p_build.sh &&
   34.10  	./m64p_install.sh
    35.1 --- a/node/receipt	Sat Feb 24 11:30:52 2018 +0100
    35.2 +++ b/node/receipt	Sat Feb 24 12:51:10 2018 +0100
    35.3 @@ -17,6 +17,7 @@
    35.4  # Rules to configure and make the package.
    35.5  compile_rules()
    35.6  {
    35.7 +	sed -i 's|uname -m|echo i486|' Makefile
    35.8  	export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH"
    35.9  	export CXX=/usr/bin/i486-slitaz-linux-g++-49
   35.10  	export CC=/usr/bin/i486-slitaz-linux-gcc-49
    36.1 --- a/notecase/receipt	Sat Feb 24 11:30:52 2018 +0100
    36.2 +++ b/notecase/receipt	Sat Feb 24 12:51:10 2018 +0100
    36.3 @@ -21,6 +21,7 @@
    36.4  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
    36.5  	busybox patch -p1 -i $stuff/notecase-1.9.8_gcc4.u || return 1
    36.6  	
    36.7 +	sed -i 's|uname -m|echo i486|' Makefile
    36.8  	sed -i s/'install -D'/'install'/ Makefile
    36.9  	sed -i 's/^DEBSIZE:=.*/DEBSIZE:=0/' Makefile*
   36.10  	# Compile
    37.1 --- a/nvidia-173xx/receipt	Sat Feb 24 11:30:52 2018 +0100
    37.2 +++ b/nvidia-173xx/receipt	Sat Feb 24 12:51:10 2018 +0100
    37.3 @@ -22,6 +22,7 @@
    37.4  compile_rules()
    37.5  {
    37.6  	cd $src/usr/src/nv/
    37.7 +	sed -i 's|uname -m|echo i486|' Makefile*
    37.8  	# Only use .unblocked_ioctl since 2.6.36
    37.9  	sed -i 's|\.ioctl|// &|' nv.c
   37.10  	make SYSSRC="/usr/src/linux" module 2>&1 | sed s'/ERROR:/error:/'
    38.1 --- a/o3read/receipt	Sat Feb 24 11:30:52 2018 +0100
    38.2 +++ b/o3read/receipt	Sat Feb 24 12:51:10 2018 +0100
    38.3 @@ -16,6 +16,7 @@
    38.4  # Rules to configure and make the package.
    38.5  compile_rules()
    38.6  {
    38.7 +	sed -i 's|uname -m|echo i486|' Makefile
    38.8  	sed -i 's|/man/|/share&|' Makefile
    38.9  	make install PREFIX=$DESTDIR/usr
   38.10  }
    39.1 --- a/opencsg/receipt	Sat Feb 24 11:30:52 2018 +0100
    39.2 +++ b/opencsg/receipt	Sat Feb 24 12:51:10 2018 +0100
    39.3 @@ -18,6 +18,7 @@
    39.4  #
    39.5  compile_rules()
    39.6  {
    39.7 +	sed -i 's|uname -m|echo i486|' glew/config/Makefile*
    39.8  	for i in /usr/lib /usr/bin /bin /usr/include ; do
    39.9  		mkdir -p $DESTDIR$i
   39.10  	done
    40.1 --- a/openjdk-6-src/receipt	Sat Feb 24 11:30:52 2018 +0100
    40.2 +++ b/openjdk-6-src/receipt	Sat Feb 24 12:51:10 2018 +0100
    40.3 @@ -14,5 +14,6 @@
    40.4  # Rules to gen a SliTaz package suitable for Tazpkg.
    40.5  compile_rules()
    40.6  {
    40.7 +	find $src -name Makefile \; | xargs sed -i 's|uname -m|echo i486|'
    40.8  	mkdir -p $fs/usr
    40.9  }
    41.1 --- a/openjdk-7-src/receipt	Sat Feb 24 11:30:52 2018 +0100
    41.2 +++ b/openjdk-7-src/receipt	Sat Feb 24 12:51:10 2018 +0100
    41.3 @@ -15,5 +15,6 @@
    41.4  # Rules to gen a SliTaz package suitable for Tazpkg.
    41.5  compile_rules()
    41.6  {
    41.7 +	find $src -name Makefile \; | xargs sed -i 's|uname -m|echo i486|'
    41.8  	mkdir -p $fs/usr
    41.9  }
    42.1 --- a/perl-crypt-ssleay/receipt	Sat Feb 24 11:30:52 2018 +0100
    42.2 +++ b/perl-crypt-ssleay/receipt	Sat Feb 24 12:51:10 2018 +0100
    42.3 @@ -19,7 +19,7 @@
    42.4  # Rules to configure and make the package.
    42.5  compile_rules()
    42.6  {
    42.7 -	cd $src
    42.8 +	sed -i 's|uname -m|echo i486|' Makefile.PL
    42.9  	yes '' | perl Makefile.PL --default &&
   42.10  	make &&
   42.11  	make DESTDIR=$DESTDIR install
    43.1 --- a/prelink/receipt	Sat Feb 24 11:30:52 2018 +0100
    43.2 +++ b/prelink/receipt	Sat Feb 24 12:51:10 2018 +0100
    43.3 @@ -16,6 +16,7 @@
    43.4  # Rules to configure and make the package.
    43.5  compile_rules()
    43.6  {
    43.7 +	sed -i 's|uname -m|echo i486|' testsuite/Makefile
    43.8  	sed -i 's/^LIBS.*/& -lpthread/' src/Makefile*
    43.9  	./configure $CONFIGURE_ARGS && make && make install
   43.10  }
    44.1 --- a/python-pycryptopp/receipt	Sat Feb 24 11:30:52 2018 +0100
    44.2 +++ b/python-pycryptopp/receipt	Sat Feb 24 12:51:10 2018 +0100
    44.3 @@ -17,6 +17,7 @@
    44.4  # Rules to configure and make the package.
    44.5  compile_rules()
    44.6  {
    44.7 +	sed -i 's|uname -m|echo i486|' src-cryptopp/GNUmakefile
    44.8  	python setup.py build
    44.9  	python setup.py install --root=$DESTDIR
   44.10  }
    45.1 --- a/qemu-light/receipt	Sat Feb 24 11:30:52 2018 +0100
    45.2 +++ b/qemu-light/receipt	Sat Feb 24 12:51:10 2018 +0100
    45.3 @@ -20,8 +20,8 @@
    45.4  # Rules to configure and make the package.
    45.5  compile_rules()
    45.6  {
    45.7 -	cd $src
    45.8  	TARGET="i386-softmmu"
    45.9 +	sed -i 's|uname -m|echo i486|' roms/openbios/utils/devbios/Makefile*
   45.10  	./configure \
   45.11  		--prefix=/usr \
   45.12  		--disable-xen \
    46.1 --- a/qemu/receipt	Sat Feb 24 11:30:52 2018 +0100
    46.2 +++ b/qemu/receipt	Sat Feb 24 12:51:10 2018 +0100
    46.3 @@ -22,6 +22,7 @@
    46.4  # Rules to configure and make the package.
    46.5  compile_rules()
    46.6  {
    46.7 +	sed -i 's|uname -m|echo i486|' roms/openbios/utils/devbios/Makefile*
    46.8  	mkdir -p $DESTDIR/usr/share/qemu/ia32
    46.9  
   46.10  	[ -s $SOURCES_REPOSITORY/$UEFIZIP ] || wget -P $SOURCES_REPOSITORY \
    47.1 --- a/realvnc-viewer/receipt	Sat Feb 24 11:30:52 2018 +0100
    47.2 +++ b/realvnc-viewer/receipt	Sat Feb 24 12:51:10 2018 +0100
    47.3 @@ -21,6 +21,7 @@
    47.4  compile_rules()
    47.5  {
    47.6  	mv vnc4* $src 2> /dev/null
    47.7 +	find $src -name Makefile.linux \; | xargs sed -i 's|uname -m|echo i486|'
    47.8  	cd $src
    47.9  	case "$ARCH" in
   47.10  	arm*) sed -i 's/(AR)/& rc/' common/zlib/Makefile.in ;;
    48.1 --- a/retawq/receipt	Sat Feb 24 11:30:52 2018 +0100
    48.2 +++ b/retawq/receipt	Sat Feb 24 12:51:10 2018 +0100
    48.3 @@ -18,6 +18,7 @@
    48.4  # Rules to configure and make the package.
    48.5  compile_rules()
    48.6  {
    48.7 +	sed -i 's|uname -m|echo i486|' Makefile-classical
    48.8  	export LDFLAGS="-ltinfo"
    48.9  	# We have no locale support on ARM actually
   48.10  	case "$ARCH" in
    49.1 --- a/spidermonkey/receipt	Sat Feb 24 11:30:52 2018 +0100
    49.2 +++ b/spidermonkey/receipt	Sat Feb 24 12:51:10 2018 +0100
    49.3 @@ -19,6 +19,7 @@
    49.4  compile_rules()
    49.5  {
    49.6  	cd $src/src
    49.7 +	sed -i 's|uname -m|echo i486|' fdlibm/Makefile.in
    49.8  
    49.9  	# Fix from Archlinux
   49.10  	# http://projects.archlinux.org/svntogit/community.git/tree/spidermonkey/trunk/PKGBUILD
    50.1 --- a/truecrypt/receipt	Sat Feb 24 11:30:52 2018 +0100
    50.2 +++ b/truecrypt/receipt	Sat Feb 24 12:51:10 2018 +0100
    50.3 @@ -16,6 +16,7 @@
    50.4  # Rules to configure and make the package.
    50.5  compile_rules()
    50.6  {
    50.7 +	sed -i 's|uname -m|echo i486|' Makefile
    50.8  	sed -i 's/^export LFLAGS :=$/& -Wl,--copy-dt-needed-entries -ldl/' Makefile
    50.9  	export PKCS11_INC="/usr/include/pkcs"
   50.10  	cd $src
    51.1 --- a/uml-utilities/receipt	Sat Feb 24 11:30:52 2018 +0100
    51.2 +++ b/uml-utilities/receipt	Sat Feb 24 12:51:10 2018 +0100
    51.3 @@ -18,7 +18,7 @@
    51.4  # Rules to configure and make the package.
    51.5  compile_rules()
    51.6  {
    51.7 -	cd $src
    51.8 +	sed -i 's|uname -m|echo i486|' Makefile
    51.9  	make &&
   51.10  	make DESTDIR=$DESTDIR install 
   51.11  } 
    52.1 --- a/unzip/receipt	Sat Feb 24 11:30:52 2018 +0100
    52.2 +++ b/unzip/receipt	Sat Feb 24 12:51:10 2018 +0100
    52.3 @@ -14,6 +14,7 @@
    52.4  # Rules to configure and make the package.
    52.5  compile_rules()
    52.6  {
    52.7 +	sed -i 's|uname -m|echo i486|' beos/Makefile
    52.8  	ln -sf $WOK/$PACKAGE/$PACKAGE${VERSION//./} $WOK/$PACKAGE/$PACKAGE-$VERSION
    52.9  
   52.10  	make -f unix/Makefile generic
    53.1 --- a/vice/receipt	Sat Feb 24 11:30:52 2018 +0100
    53.2 +++ b/vice/receipt	Sat Feb 24 12:51:10 2018 +0100
    53.3 @@ -16,7 +16,7 @@
    53.4  # Rules to configure and make the package.
    53.5  compile_rules()
    53.6  {
    53.7 -	cd $src
    53.8 +	sed -i 's|uname -m|echo i486|' src/lib/liblame/Makefile.unix
    53.9  	sed -i 's/cp .(fontsdir)/echo &/' data/fonts/Makefile.*
   53.10  	./configure \
   53.11  		--prefix=/usr \
    54.1 --- a/virtualbox-ose/receipt	Sat Feb 24 11:30:52 2018 +0100
    54.2 +++ b/virtualbox-ose/receipt	Sat Feb 24 12:51:10 2018 +0100
    54.3 @@ -26,6 +26,7 @@
    54.4  # Rules to configure and make the package.
    54.5  compile_rules()
    54.6  {
    54.7 +	find $src -name '*akefile*' \; | xargs sed -i 's|uname -m|echo i486|'
    54.8  	cp $stuff/LocalConfig.kmk .
    54.9  	./configure \
   54.10  		--disable-pulse \
    55.1 --- a/vzquota/receipt	Sat Feb 24 11:30:52 2018 +0100
    55.2 +++ b/vzquota/receipt	Sat Feb 24 12:51:10 2018 +0100
    55.3 @@ -15,7 +15,7 @@
    55.4  # Rules to configure and make the package.
    55.5  compile_rules()
    55.6  {
    55.7 -	cd $src
    55.8 +	sed -i 's|uname -m|echo i486|' src/Makefile
    55.9  	# Apply patches
   55.10  	while read patch_file; do
   55.11  		if [ -f done.$patch_file ]; then
    56.1 --- a/xdotool/receipt	Sat Feb 24 11:30:52 2018 +0100
    56.2 +++ b/xdotool/receipt	Sat Feb 24 12:51:10 2018 +0100
    56.3 @@ -16,6 +16,7 @@
    56.4  # Rules to configure and make the package.
    56.5  compile_rules()
    56.6  {
    56.7 +	sed -i 's|uname -m|echo i486|' Makefile
    56.8  	make &&
    56.9  	make PREFIX=/usr INSTALLMAN=/usr/share/man DESTDIR=$DESTDIR install
   56.10  }