Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=2d5689438a5ffd973bf0266edba9487b5ffa7501
commit 2d5689438a5ffd973bf0266edba9487b5ffa7501 Author: Miklos Vajna <[email protected]> Date: Mon Sep 24 10:47:37 2012 +0200 gcc-4.7.2-1-x86_64 - a release tarball appeared in the meantime diff --git a/source/devel/gcc/FrugalBuild b/source/devel/gcc/FrugalBuild index d72ff09..11ee18f 100644 --- a/source/devel/gcc/FrugalBuild +++ b/source/devel/gcc/FrugalBuild @@ -31,7 +31,6 @@ makedepends=('libmpc09' 'ppl12' 'cloog17' 'isl09') provides=('c-compiler') groups=('devel' 'devel-core') archs=('i686' 'x86_64' 'arm') -NOEXTRACT=1 options=('scriptlet' 'noccache') if Fuse $USE_SNAPSHOT; then pkgver=4.5_20101118 @@ -43,21 +42,9 @@ if Fuse $USE_SNAPSHOT; then _F_cd_path="$pkgname-${pkgver/_/-}" else gccver=$pkgver - gccbranch=$(echo "$pkgver" | sed 's|\.[0-9]$|.0|') - _F_cd_path="gcc-$gccbranch" up2date="lynx -dump http://ftp.gnu.org/pub/gnu/gcc/|grep gcc-.*/$|sed -n 's|.*gcc-\(.*\)/|\1|;$ p'" - source=(http://ftp.gnu.org/pub/gnu/gcc/gcc-$gccbranch/gcc-$gccbranch.tar.bz2) + source=(http://ftp.gnu.org/pub/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.bz2) signatures=(${source[0]}.sig) - if [ "$gccbranch" != "$gccver" ]; then - i=$(( $(echo "$gccbranch" | sed 's|^[0-9]\.[0-9]\.||') + 1 )) - j=$(echo "$gccver" | sed 's|^[0-9]\.[0-9]\.||') - for k in $(seq $i $j); do - old="${gccbranch/.0/.$(( $k - 1 ))}" - new="${gccbranch/.0/.$k}" - source=(${source[@]} http://ftp.gnu.org/pub/gnu/gcc/gcc-$new/gcc-$old-$new.diff.bz2) - signatures=(${signatures[@]} ${source[$k]}.sig) - done - fi source=(${source[@]} gcc-4.7.1-libada-pic.patch) signatures=(${signatures[@]} '') fi @@ -145,18 +132,13 @@ done build() { - if [ ! -d gcc-$gccbranch ]; then - Fextract gcc-$gccbranch.tar.bz2 - Fcd - Fsed 'lib64' 'lib' gcc/config/i386/t-linux64 - # no fixincludes, thanks - Fsed '\./fixinc\.sh' '-c true' gcc/Makefile.in - Fpatchall - ## well reconf / autoreconf is br0ken in gcc .. so do it that way heh - Fuse $USE_JAVA && Fsed '--with-fastjar=$JAR' '--with-fastjar=/usr/bin/fastjar' libjava/configure - else - Fcd - fi + Fcd + Fsed 'lib64' 'lib' gcc/config/i386/t-linux64 + # no fixincludes, thanks + Fsed '\./fixinc\.sh' '-c true' gcc/Makefile.in + Fpatchall + ## well reconf / autoreconf is br0ken in gcc .. so do it that way heh + Fuse $USE_JAVA && Fsed '--with-fastjar=$JAR' '--with-fastjar=/usr/bin/fastjar' libjava/configure mkdir -p ../$pkgname-build || Fdie cd ../$pkgname-build || Fdie _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
