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

Allan McRae allan at archlinux.org
Sat Jul 9 03:10:41 UTC 2011


    Date: Friday, July 8, 2011 @ 23:10:41
  Author: allan
Revision: 130912

upgpkg: gcc 4.6.1-2
add gengtype for plugin support

Modified:
  gcc/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-08 20:48:37 UTC (rev 130911)
+++ PKGBUILD	2011-07-09 03:10:41 UTC (rev 130912)
@@ -6,7 +6,7 @@
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
 pkgver=4.6.1
-pkgrel=1
+pkgrel=2
 #_snapshot=4.6-20110603
 _libstdcppmanver=20110201		# Note: check source directory name when updating this
 pkgdesc="The GNU Compiler Collection"
@@ -140,6 +140,10 @@
   ln -sf gcc ${pkgdir}/usr/bin/cc
   ln -sf g++ ${pkgdir}/usr/bin/c++
 
+  # install gengtype for plugin support
+  install -m755 gcc/build/gengtype $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/
+  install -m644 gcc/gtype.state $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/
+
   # POSIX conformance launcher scripts for c89 and c99
   cat > $pkgdir/usr/bin/c89 <<"EOF"
 #!/bin/sh




More information about the arch-commits mailing list