# HG changeset patch # User Pascal Bellard # Date 1544654244 -3600 # Node ID b3e8eb32006111bff75f84c1430a28f431d2e75e # Parent feeb3a07eddd1365f1c7e44ac2f47e4ba98a3095 tcc: force arch diff -r feeb3a07eddd -r b3e8eb320061 tacacs+/receipt --- a/tacacs+/receipt Wed Dec 12 23:00:52 2018 +0100 +++ b/tacacs+/receipt Wed Dec 12 23:37:24 2018 +0100 @@ -16,13 +16,12 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && - make && make DESTDIR=$DESTDIR install + make && make -j 1 DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r feeb3a07eddd -r b3e8eb320061 tcc/receipt --- a/tcc/receipt Wed Dec 12 23:00:52 2018 +0100 +++ b/tcc/receipt Wed Dec 12 23:37:24 2018 +0100 @@ -23,6 +23,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|uname -m|echo i686|' configure case "$ARCH" in arm) ./configure \ @@ -44,4 +45,3 @@ mkdir -p $fs/usr/bin cp -a $install/usr/bin/tcc $fs/usr/bin } -