From fdffb271b26bbf0c8a27d7ecb787fbf9eca26b2b Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 12 Jan 2006 10:47:06 +0000 Subject: [PATCH] - X doesn't seem to be used, disable it explicitly (and kill BR) - double configure hack seems no longer needed - release 2 Changed files: gdb.spec -> 1.85 --- gdb.spec | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/gdb.spec b/gdb.spec index d810e25..1fdb1e6 100644 --- a/gdb.spec +++ b/gdb.spec @@ -11,7 +11,7 @@ Summary(zh_CN): [ Summary(zh_TW): [.-A¶}µo]C©M.$)B¨ä.-A¥L»y.$)B¨¥ªº½Õ¸Õ¾¹ Name: gdb Version: 6.4 -Release: 1 +Release: 2 License: GPL Group: Development/Debuggers Source0: ftp://ftp.gnu.org/gnu/gdb/%{name}-%{version}.tar.bz2 @@ -24,7 +24,6 @@ Patch2: %{name}-passflags.patch # updated from http://www.math.uni.wroc.pl/~hebisch/gpc/gdb-6.1.diff Patch3: %{name}-gpc.patch Patch4: %{name}-gdbinit-stat.patch -BuildRequires: XFree86-devel BuildRequires: autoconf >= 2.53 BuildRequires: automake BuildRequires: bison @@ -109,25 +108,22 @@ cp -f /usr/share/automake/config.* . # !! Don't enable shared here !! # This will cause serious problems --misiek %configure2_13 \ + --disable-gdbtk \ --disable-shared \ - --enable-nls \ - --without-included-gettext \ - --without-included-regex \ - --enable-gdcli \ + --enable-gdbcli \ --enable-gdbmi \ --enable-multi-ice \ --enable-netrom \ - --with-cpu=%{_target_cpu} \ + --enable-nls \ --enable-tui \ + --with-cpu=%{_target_cpu} \ + --without-included-gettext \ + --without-included-regex \ + --without-x \ %ifnarch alpha --with-mmalloc %endif -# something is wrong after above - e.g. $exeext=="no" - fix it: -cd gdb -%configure -cd .. - %{__make} %{__make} info -- 2.44.0