From abb9291457b092eaa4f6d9fbd1a2dd22155dba9a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 30 Jun 2014 11:51:03 +0200 Subject: [PATCH] gdb: fix option renaming: static -> gdbstatic. --- srcpkgs/gdb/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/gdb/template b/srcpkgs/gdb/template index be87d6ff6c9..453d2747dde 100644 --- a/srcpkgs/gdb/template +++ b/srcpkgs/gdb/template @@ -1,7 +1,7 @@ # Template file for 'gdb' pkgname=gdb version=7.7.1 -revision=2 +revision=3 patch_args="-Np1" build_style=gnu-configure configure_args="--disable-werror --disable-nls --with-system-readline --with-system-gdbinit=/etc/gdb/gdbinit" @@ -16,7 +16,7 @@ distfiles="http://ftp.gnu.org/gnu/gdb/gdb-$version.tar.bz2" checksum=0dbd5260406f1b0c70fcf027c6488527fadde0cd9bb574593491fe076eb03aa5 # Package build options -build_options="gdbserver static" +build_options="gdbserver gdbstatic" desc_option_gdbserver="Enable support for building GDB server" desc_option_gdbstatic="Enable support for building GDB statically" @@ -29,11 +29,11 @@ else configure_args+=" --enable-gdbserver=no" fi -if [ "$build_option_static" ]; then +if [ "$build_option_gdbstatic" ]; then configure_args+=" CFLAGS=-static" fi -if [ "$build_option_gdbserver" -a "$build_option_static" ]; then +if [ "$build_option_gdbserver" -a "$build_option_gdbstatic" ]; then msg_error "$pkgver: gdbserver and static options cannot be enabled at the same time!\n" fi