[arch-commits] CVS update of core/base/gcc-libs (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sun Feb 3 17:07:21 UTC 2008
Date: Sunday, February 3, 2008 @ 12:07:21
Author: jgc
Path: /home/cvs-core/core/base/gcc-libs
Modified: PKGBUILD (1.5 -> 1.6)
upgpkg: gcc-libs 4.2.3-1
gcc 4.2.3 update. Include gcc-fortran and gcc-objc libraries
----------+
PKGBUILD | 27 ++++++++++++---------------
1 file changed, 12 insertions(+), 15 deletions(-)
Index: core/base/gcc-libs/PKGBUILD
diff -u core/base/gcc-libs/PKGBUILD:1.5 core/base/gcc-libs/PKGBUILD:1.6
--- core/base/gcc-libs/PKGBUILD:1.5 Thu Nov 15 18:53:15 2007
+++ core/base/gcc-libs/PKGBUILD Sun Feb 3 12:07:21 2008
@@ -1,27 +1,24 @@
-# $Id: PKGBUILD,v 1.5 2007/11/15 23:53:15 daniel Exp $
+# $Id: PKGBUILD,v 1.6 2008/02/03 17:07:21 jgc Exp $
# Maintainer: Jan de Groot <jgc at archlinux.org>
pkgname=gcc-libs
-pkgver=4.2.2
-pkgrel=3
-#_snapshot=4.2.1-RC-20070703
+pkgver=4.2.3
+pkgrel=1
+#_snapshot=4.2.3-RC-20080125
pkgdesc="Runtime libraries shipped by GCC for C and C++ languages"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
groups=('base')
url="http://gcc.gnu.org"
depends=('glibc>=2.7')
-makedepends=('binutils>=2.18-3' 'gcc>=4.2.2')
+makedepends=('binutils>=2.18-3' 'gcc>=4.2.2' 'mpfr')
+conflicts=('gcc-fortran' 'gcc-objc')
+provides=('gcc-fortran' 'gcc-objc')
options=('!libtool' '!emptydirs')
-source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++}-${pkgver}.tar.bz2
- #ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-{core,g++}-${_snapshot}.tar.bz2
+source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,fortran,objc}-${pkgver}.tar.bz2
+ #ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-{core,g++,fortran,objc}-${_snapshot}.tar.bz2
gcc_pure64.patch
gcc-hash-style-both.patch
libgomp-dlopen-fix.patch)
-md5sums=('b02a013580a9555c7c8f2ca554c02722'
- '1aa75e06ca16518f16d5df67ba98a392'
- '8fc86e4c4d1f4ec8b226307d39fbd9e3'
- '611fbd749019f0ce2fad36fda17e93dd'
- 'ccb143ce1f8a09d5ffa9cf0a39ba4a78')
build() {
if ! locale -a | grep ^de_DE; then
@@ -42,17 +39,17 @@
# Don't run fixincludes
sed -i -e 's@\./fixinc\.sh at -c true@' gcc/Makefile.in
- echo ${pkgver} > gcc/BASE-VER
+ #echo ${pkgver} > gcc/BASE-VER
mkdir build
cd build
../configure --prefix=/usr --enable-shared \
- --enable-languages=c,c++ --enable-threads=posix \
+ --enable-languages=c,c++,fortran,objc,obj-c++,treelang --enable-threads=posix \
--enable-__cxa_atexit --disable-multilib --libdir=/usr/lib \
--libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch \
--with-tune=generic
make || return 1
- make -j1 DESTDIR=${startdir}/pkg install-target-libstdc++-v3 install-target-libmudflap install-target-libgomp install-target-libssp || return 1
+ make -j1 DESTDIR=${startdir}/pkg install-target-libstdc++-v3 install-target-libmudflap install-target-libgomp install-target-libssp install-target-libgfortran install-target-libobjc || return 1
# Cleanup, libgomp installs the whole compiler it seems...
rm -rf ${startdir}/pkg/usr/include
More information about the arch-commits
mailing list