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 7d17f03f96
commit f062d6ad4e

View File

@ -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 <ailiop@altatus.com>"
@ -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}"