wok-next diff gcc3/receipt @ rev 20027
Remove tesseract-ocr-lang-*
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 22 14:43:25 2017 +0200 (2017-10-22) |
parents | 95758c7d1a56 |
children | d958fec46c9f |
line diff
1.1 --- a/gcc3/receipt Sun Oct 23 18:00:14 2016 +0000 1.2 +++ b/gcc3/receipt Sun Oct 22 14:43:25 2017 +0200 1.3 @@ -12,21 +12,25 @@ 1.4 WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL" 1.5 TAGS="compiler C C++" 1.6 1.7 -BUILD_DEPENDS="gawk" 1.8 +BUILD_DEPENDS="gawk gcc49" 1.9 DEPENDS="gcc" 1.10 1.11 # Rules to configure and make the package. 1.12 compile_rules() 1.13 { 1.14 + sed -i 's/struct siginfo /siginfo_t /' gcc/config/*/linux*.h 1.15 mkdir gcc-build 1.16 cd gcc-build 1.17 { 1.18 + export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH" 1.19 + export CC=gcc-49 1.20 + export CXX=g++-49 1.21 $src/configure --prefix=/usr --libexecdir=/usr/lib \ 1.22 --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \ 1.23 --enable-languages=c,c++ --enable-shared --with-system-zlib \ 1.24 --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit \ 1.25 --enable-threads=posix --with-tune=$ARCH \ 1.26 - --program-suffix=-3 1.27 + --program-suffix=-3 $CONFIGURE_ARGS 1.28 make $MAKEFLAGS bootstrap && 1.29 make $MAKEFLAGS install 1.30 } 2>&1 | sed 's/: No such file/: no such file/'