avr-gdb: stop depends gettext-libs on glibc

gettext-libs is gone on glibc from e1091a5c5b, (gettext: reorganize so
gettext-libs only ships versioned libintl.so., 2021-03-04)
This commit is contained in:
Đoàn Trần Công Danh 2021-03-26 08:02:27 +07:00
parent 1c5cd1f700
commit 7d17f03f96

View File

@ -17,7 +17,7 @@ configure_args="\
$(vopt_if python --with-python=/usr/bin/python3)"
hostmakedepends="texinfo perl $(vopt_if python python3-devel)"
makedepends="ncurses-devel zlib-devel readline-devel expat-devel
$(vopt_if python 'python3-devel gettext-libs')"
$(vopt_if python 'python3-devel')"
depends=gdb
short_desc="GNU Debugger for AVR"
maintainer="Artur Sinila <opensource@logarithmus.dev>"
@ -43,6 +43,10 @@ desc_option_gdbserver="Enable support for building GDB server"
# Both options cannot be enabled at the same time
vopt_conflict gdbserver static
if [ "$build_option_python" ] && [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" gettext-libs"
fi
post_extract() {
vsed -i 's,sgidefs.h,asm/sgidefs.h,' gdb/mips-linux-nat.c
mkdir -p build