summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-03-30 10:19:59 +0200
committersibel <lesibel@free.fr>2011-03-30 10:19:59 +0200
commit41cee5875900164946ce0ddfb4228f5dbce678f1 (patch)
treeb521282aebb917325ad0a105c722aecc9fd8d660
parent6f7d6f869cfef6096a94fca2f138eb442fe2e0b1 (diff)
downloadnutyx-extra-41cee5875900164946ce0ddfb4228f5dbce678f1.tar.gz
nutyx-extra-41cee5875900164946ce0ddfb4228f5dbce678f1.tar.bz2
nutyx-extra-41cee5875900164946ce0ddfb4228f5dbce678f1.tar.xz
nutyx-extra-41cee5875900164946ce0ddfb4228f5dbce678f1.zip
gdb, 7.2-3 correction port
-rw-r--r--extra/gdb/.footprint.x86_641
-rw-r--r--extra/gdb/Pkgfile13
2 files changed, 11 insertions, 3 deletions
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