From 7d17f03f96c0f2c4f59a599f738253aaf879af5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 26 Mar 2021 08:02:27 +0700 Subject: [PATCH] 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) --- srcpkgs/avr-gdb/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/avr-gdb/template b/srcpkgs/avr-gdb/template index 2635f382fce..98cc18d8457 100644 --- a/srcpkgs/avr-gdb/template +++ b/srcpkgs/avr-gdb/template @@ -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 " @@ -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