diff --git a/srcpkgs/gdb/template b/srcpkgs/gdb/template index 453d2747dd..921b713747 100644 --- a/srcpkgs/gdb/template +++ b/srcpkgs/gdb/template @@ -1,7 +1,7 @@ # Template file for 'gdb' pkgname=gdb version=7.7.1 -revision=3 +revision=4 patch_args="-Np1" build_style=gnu-configure configure_args="--disable-werror --disable-nls --with-system-readline --with-system-gdbinit=/etc/gdb/gdbinit" @@ -16,9 +16,8 @@ distfiles="http://ftp.gnu.org/gnu/gdb/gdb-$version.tar.bz2" checksum=0dbd5260406f1b0c70fcf027c6488527fadde0cd9bb574593491fe076eb03aa5 # Package build options -build_options="gdbserver gdbstatic" +build_options="gdbserver static" desc_option_gdbserver="Enable support for building GDB server" -desc_option_gdbstatic="Enable support for building GDB statically" # Enable gdbserver if !static. build_options_default="gdbserver" @@ -29,11 +28,11 @@ else configure_args+=" --enable-gdbserver=no" fi -if [ "$build_option_gdbstatic" ]; then +if [ "$build_option_static" ]; then configure_args+=" CFLAGS=-static" fi -if [ "$build_option_gdbserver" -a "$build_option_gdbstatic" ]; then +if [ "$build_option_gdbserver" -a "$build_option_static" ]; then msg_error "$pkgver: gdbserver and static options cannot be enabled at the same time!\n" fi