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

Anatol Pomozov anatolik at archlinux.org
Fri Jan 16 20:47:23 UTC 2015


    Date: Friday, January 16, 2015 @ 21:47:22
  Author: anatolik
Revision: 126009

upgpkg: arm-none-eabi-gdb 7.8.2-1

Remove texinfo from makedepends

Modified:
  arm-none-eabi-gdb/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-16 20:46:11 UTC (rev 126008)
+++ PKGBUILD	2015-01-16 20:47:22 UTC (rev 126009)
@@ -11,7 +11,6 @@
 url='http://www.gnu.org/software/gdb/'
 license=(GPL3)
 depends=(xz ncurses expat python2 guile)
-makedepends=(texinfo)
 optdepends=('openocd: for debugging JTAG targets'
             'stlink: for debugging over STLINK')
 options=(!emptydirs)
@@ -20,20 +19,25 @@
             'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker <brobecker at adacore.com>
 
+prepare() {
+  cd gdb-$pkgver
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
 build() {
   cd gdb-$pkgver
 
-  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+  ./configure \
+    --target=$_target \
+    --prefix=/usr \
+    --enable-languages=c,c++ \
+    --enable-multilib \
+    --enable-interwork \
+    --with-system-readline \
+    --disable-nls \
+    --with-python=/usr/bin/python2 \
+    --with-system-gdbinit=/etc/gdb/gdbinit
 
-  ./configure --target=$_target \
-              --prefix=/usr \
-              --enable-languages=c,c++ \
-              --enable-multilib \
-              --enable-interwork \
-              --with-system-readline \
-              --disable-nls \
-              --with-python=/usr/bin/python2 \
-              --with-system-gdbinit=/etc/gdb/gdbinit
   make
 }
 



More information about the arch-commits mailing list