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

Anatol Pomozov anatolik at archlinux.org
Fri Jan 16 01:11:47 UTC 2015


    Date: Friday, January 16, 2015 @ 02:11:47
  Author: anatolik
Revision: 229126

upgpkg: gdb 7.8.2-1

Add guile support

Modified:
  gdb/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-16 00:55:27 UTC (rev 229125)
+++ PKGBUILD	2015-01-16 01:11:47 UTC (rev 229126)
@@ -3,23 +3,23 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gdb
-pkgver=7.8.1
+pkgver=7.8.2
 pkgrel=1
-pkgdesc="The GNU Debugger"
+pkgdesc='The GNU Debugger'
 arch=('i686' 'x86_64')
 url="http://www.gnu.org/software/gdb/"
 license=('GPL3')
-depends=('ncurses' 'expat' 'python2' 'xz')
+depends=('ncurses' 'expat' 'python2' 'xz' 'guile')
 makedepends=('texinfo')
 backup=('etc/gdb/gdbinit')
 install=gdb.install
 source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.xz{,.sig})
-md5sums=('8072be87a94be0936bc3b4b6941b0862'
+md5sums=('a80cf252ed2e775d4e4533341bbf2459'
          'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
 
 prepare() {
-  cd ${pkgname}-${pkgver}
+  cd gdb-$pkgver
 
   # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
   sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
@@ -26,20 +26,19 @@
 }
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd gdb-$pkgver
   
   # guile support has a severe bug https://sourceware.org/bugzilla/show_bug.cgi?id=17247
   ./configure --prefix=/usr --disable-nls \
     --with-system-readline \
     --with-python=/usr/bin/python2 \
-    --with-system-gdbinit=/etc/gdb/gdbinit \
-    --without-guile
+    --with-system-gdbinit=/etc/gdb/gdbinit
   make
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd gdb-$pkgver
+  make DESTDIR=$pkgdir install
 
   # install "custom" system gdbinit
   install -dm755 $pkgdir/etc/gdb
@@ -46,6 +45,7 @@
   touch $pkgdir/etc/gdb/gdbinit
 
   # resolve conflicts with binutils
-  rm ${pkgdir}/usr/include/{ansidecl,bfd,bfdlink,dis-asm,symcat}.h
-  rm ${pkgdir}/usr/share/info/{bfd,configure,standards}.info
+  rm $pkgdir/usr/include/{ansidecl,bfd,bfdlink,dis-asm,symcat}.h
+  rm $pkgdir/usr/share/info/{bfd,configure,standards}.info
+  rm $pkgdir/usr/lib/{libbfd,libopcodes}.a
 }



More information about the arch-commits mailing list