From 41cee5875900164946ce0ddfb4228f5dbce678f1 Mon Sep 17 00:00:00 2001 From: sibel Date: Wed, 30 Mar 2011 10:19:59 +0200 Subject: gdb, 7.2-3 correction port --- extra/gdb/.footprint.x86_64 | 1 + extra/gdb/Pkgfile | 13 ++++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'extra') diff --git a/extra/gdb/.footprint.x86_64 b/extra/gdb/.footprint.x86_64 index 523c9ea0e..8857b15f0 100644 --- a/extra/gdb/.footprint.x86_64 +++ b/extra/gdb/.footprint.x86_64 @@ -6,6 +6,7 @@ drwxr-xr-x root/root usr/bin/ drwxr-xr-x root/root usr/include/ drwxr-xr-x root/root usr/lib/ -rwxr-xr-x root/root usr/lib/libinproctrace.so +drwxr-xr-x root/root usr/lib64/ drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/gdb/ drwxr-xr-x root/root usr/share/gdb/python/ diff --git a/extra/gdb/Pkgfile b/extra/gdb/Pkgfile index 328365e01..f44753543 100644 --- a/extra/gdb/Pkgfile +++ b/extra/gdb/Pkgfile @@ -2,11 +2,11 @@ # URL: http://www.gnu.org/software/gdb/ # Maintainer: NuTyX core team # Packager: eko2291 at gmail dot com -# Depends on: expat, python +# Depends on: expat # Run on: name=gdb version=7.2 -release=2 +release=3 source=(http://ftp.gnu.org/gnu/gdb/$name-$version.tar.bz2) build() { @@ -23,7 +23,14 @@ cd $name-$version rm $PKG/usr/include/symcat.h rm $PKG/usr/lib/libbfd.a rm $PKG/usr/lib/libbfd.la - rm $PKG/usr/lib/libiberty.a + + case `uname -m` in + x86_64) + rm $PKG/usr/lib64/libiberty.a;; + i?86) + rm $PKG/usr/lib/libiberty.a;; + esac + rm $PKG/usr/lib/libopcodes.a rm $PKG/usr/lib/libopcodes.la rm $PKG/usr/share/locale/fr/LC_MESSAGES/bfd.mo -- cgit v1.2.3-70-g09d2