From f062d6ad4ed8d09bc98c4bcc2b86a8f25d55b97f 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] 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/gdb/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/gdb/template b/srcpkgs/gdb/template index e63224696bd..02e0e66350d 100644 --- a/srcpkgs/gdb/template +++ b/srcpkgs/gdb/template @@ -11,7 +11,7 @@ configure_args="--disable-werror --disable-nls --with-system-readline $(vopt_with debuginfod)" hostmakedepends="texinfo perl pkg-config $(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) $(vopt_if debuginfod elfutils-devel)" short_desc="GNU Debugger" maintainer="Anthony Iliopoulos " @@ -22,6 +22,10 @@ checksum=f82f1eceeec14a3afa2de8d9b0d3c91d5a3820e23e0a01bbb70ef9f0276b62c0 python_version=3 patch_args="-Np1" +if [ "$build_option_python" ] && [ "$XBPS_TARGET_LIBC" = musl ]; then + makedepends+=" gettext-libs" +fi + if [ "${CROSS_BUILD}" ]; then # Make python3.x detection work in cross builds CFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"