[arch-commits] Commit in gcc/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Allan McRae allan at archlinux.org
Fri Oct 23 13:36:33 EDT 2009


    Date: Friday, October 23, 2009 @ 13:36:32
  Author: allan
Revision: 56605

Merged revisions 56599 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/gcc/trunk

........
  r56599 | allan | 2009-10-24 02:47:41 +1000 (Sat, 24 Oct 2009) | 2 lines
  
  upgpkg: gcc 4.4.2-2
      move fortran and objc libs to gcc-libs
........

Modified:
  gcc/repos/testing-x86_64/	(properties)
  gcc/repos/testing-x86_64/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)


Property changes on: gcc/repos/testing-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /gcc/trunk:1-56156
   + /gcc/trunk:1-56604

Modified: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD	2009-10-23 17:35:20 UTC (rev 56604)
+++ testing-x86_64/PKGBUILD	2009-10-23 17:36:32 UTC (rev 56605)
@@ -6,7 +6,7 @@
 
 pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada')
 pkgver=4.4.2
-pkgrel=1
+pkgrel=2
 #_snapshot=4.4-20090630
 _libstdcppmanver=4.4.0
 pkgdesc="The GNU Compiler Collection"
@@ -77,6 +77,12 @@
   make -j1 -C $CHOST/libstdc++-v3/po DESTDIR=${pkgdir} install
   make -j1 -C $CHOST/libgomp DESTDIR=${pkgdir} install-info
 
+  make -j1 DESTDIR=${pkgdir} install-target-libgfortran
+
+  make -j1 DESTDIR=${pkgdir} install-target-libobjc
+  # I thought I said to only install the lib...
+  rm -rf ${pkgdir}/usr/lib/gcc/
+
   # remove static libraries
   find ${pkgdir} -name *.a -delete
   
@@ -133,6 +139,9 @@
   make -j1 -C gcc DESTDIR=$pkgdir fortran.install-{common,man,info}
   install -Dm755 gcc/f951 $pkgdir/usr/lib/gcc/$CHOST/$pkgver/f951
   
+  # remove libraries included in gcc-libs
+  rm -f ${pkgdir}/usr/lib/libgfortran.so*
+  
   # Install Runtime Library Exception
   install -Dm644 ${srcdir}/gcc-${pkgver}/COPYING.RUNTIME \
     ${pkgdir}/usr/share/licenses/gcc-fortran/RUNTIME.LIBRARY.EXCEPTION
@@ -148,6 +157,9 @@
   install -dm755 $pkgdir/usr/lib/gcc/$CHOST/$pkgver/
   install -m755 gcc/cc1obj{,plus} $pkgdir/usr/lib/gcc/$CHOST/$pkgver/
 
+  # remove libraries included in gcc-libs
+  rm -f ${pkgdir}/usr/lib/libobjc.so*
+
   # Install Runtime Library Exception
   install -Dm644 ${srcdir}/gcc-${pkgver}/COPYING.RUNTIME \
     ${pkgdir}/usr/share/licenses/gcc-objc/RUNTIME.LIBRARY.EXCEPTION



More information about the arch-commits mailing list