summaryrefslogtreecommitdiffstats
path: root/extra/gdb/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gdb/Pkgfile')
-rw-r--r--extra/gdb/Pkgfile13
1 files changed, 10 insertions, 3 deletions
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