[arch-commits] Commit in gcc/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Fri Dec 17 00:57:07 UTC 2010


    Date: Thursday, December 16, 2010 @ 19:57:07
  Author: allan
Revision: 103262

binutils-2.21 toolchain rebuild, bump to latest upstream, fix/clarify some pkgdesc

Modified:
  gcc/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++--------------------
 1 file changed, 15 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-12-17 00:55:50 UTC (rev 103261)
+++ PKGBUILD	2010-12-17 00:57:07 UTC (rev 103262)
@@ -1,32 +1,31 @@
 # $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
 # Maintainer: Allan McRae <allan at archlinux.org>
 
 # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
 # NOTE: libtool requires rebuilt with each new gcc version
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada')
-pkgver=4.5.1
-pkgrel=2
-_snapshot=4.5-20101125
+pkgver=4.5.2
+pkgrel=1
+#_snapshot=4.5.2-RC-20101208
 _libstdcppmanver=4.5.2		# Note: check source directory name when updating this
 pkgdesc="The GNU Compiler Collection"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'custom')
 url="http://gcc.gnu.org"
-makedepends=('binutils>=2.20.1' 'libmpc>=0.8.2-2' 'cloog-ppl>=0.15.9-2' 'elfutils' 'gcc-ada' 'dejagnu')
+makedepends=('binutils>=2.21' 'libmpc' 'cloog-ppl' 'elfutils' 'gcc-ada' 'dejagnu')
 options=('!libtool' '!emptydirs')
-source=(#ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,fortran,objc,ada,testsuite}-${pkgver}.tar.bz2
-	ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-{core,g++,fortran,objc,ada,testsuite}-${_snapshot}.tar.bz2
+source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,fortran,objc,ada,testsuite}-${pkgver}.tar.bz2
+	#ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-{core,g++,fortran,objc,ada,testsuite}-${_snapshot}.tar.bz2
 	ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-api-${_libstdcppmanver}.man.tar.bz2
 	gcc_pure64.patch
 	gcc-hash-style-both.patch)
-md5sums=('7023dd06e5db9141c590f0c1cfb742f5'
-         '1e793092ca05638421c21e8ad6a5a10f'
-         'd0b75cd4144b744a7abeca36d19b9726'
-         '9f4ef57841ab819563003ae65a8281e3'
-         'cada64872a8414e38ab2e4684644cec6'
-         'aba643dac79c35eb7f69a027c8dc0ed7'
+md5sums=('aa9e36bec080452372bfba793428ee82'
+         '9821f1c61e43755866861485ff364e90'
+         '8cc545fda70085c78076d79e0e23962a'
+         '3561c6585e9062105cc3591a8c39d7dc'
+         'ee24023972f337fbc22202d6d219a727'
+         '29ae615438aba0bd3384b94bac54c235'
          '2776eab5ebb7f9cc62dd2199a3a24382'
          '4030ee1c08dd1e843c0225b772360e76'
          '6fd395bacbd7b6e47c7b74854b478363')
@@ -39,11 +38,6 @@
 fi
 
 build() {
-  if ! locale -a | grep ^de_DE > /dev/null; then
-    echo "You need the de_DE locale to build gcc."
-    return 1
-  fi
-  
   cd ${_basedir}
 
   # "Add" ppl-0.11 compatibility
@@ -56,7 +50,7 @@
   sed -i 's@\./fixinc\.sh at -c true@' gcc/Makefile.in
 
   if [ "${CARCH}" = "x86_64" ]; then
-    patch -Np1 -i ../gcc_pure64.patch
+    patch -Np1 -i ${srcdir}/gcc_pure64.patch
   fi
   patch -Np0 -i ${srcdir}/gcc-hash-style-both.patch
 
@@ -86,7 +80,7 @@
 
 package_gcc-libs()
 {
-  pkgdesc="Runtime libraries shipped by GCC for C and C++ languages"
+  pkgdesc="Runtime libraries shipped by GCC"
   groups=('base')
   depends=('glibc>=2.11.1-2')
   install=gcc-libs.install
@@ -115,6 +109,7 @@
 
 package_gcc()
 {
+  pkgdesc="The GNU Compiler Collection - C and C++ frontends"
   depends=('binutils>=2.20.1' 'libmpc>=0.8.1-2' 'cloog-ppl>=0.15.9-2' 'elfutils')
   groups=('base-devel')
   install=gcc.install




More information about the arch-commits mailing list