wok-current diff attr/receipt @ rev 25620
Use default gcc 6.3 for ghostscript
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Sep 04 05:39:50 2023 +0000 (17 months ago) |
parents | 61dfb104a85c |
children | 5926178cd6fa |
line diff
1.1 --- a/attr/receipt Thu Jan 27 17:14:58 2022 +0100 1.2 +++ b/attr/receipt Mon Sep 04 05:39:50 2023 +0000 1.3 @@ -12,7 +12,7 @@ 1.4 WGET_URL="https://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" 1.5 1.6 DEPENDS="glibc-base" 1.7 -BUILD_DEPENDS="autoconf automake m4 libtool gettext" 1.8 +BUILD_DEPENDS="autoconf automake m4 bash libtool" #gettext (avoid loop build) 1.9 HOST_ARCH="i486 arm" 1.10 1.11 # When cross compiling auto-tools, gettext and m4 build system are used. 1.12 @@ -36,13 +36,20 @@ 1.13 # No need to use rpm 1.14 rm /bin/rpm 1.15 1.16 - export INSTALL_USER=root 1.17 - export INSTALL_GROUP=root 1.18 1.19 - ./configure $CONFIGURE_ARGS && 1.20 - make && 1.21 - make install install-lib install-dev DIST_ROOT=$DESTDIR 1.22 - 1.23 + { 1.24 + INSTALL_USER=root \ 1.25 + INSTALL_GROUP=root \ 1.26 + ./configure \ 1.27 + $CONFIGURE_ARGS && 1.28 + make && 1.29 + make install install-lib \ 1.30 + install-dev DIST_ROOT=$DESTDIR 1.31 + } || { 1.32 + mv -f /bin/sh.bak /bin/sh 1.33 + return 1 1.34 + } 1.35 + 1.36 mv -f /bin/sh.bak /bin/sh 1.37 } 1.38