From: Sergei Trofimovich Date: Sun, 10 Nov 2019 22:41:36 +0000 (+0000) Subject: sys-libs/glibc: add RESTRICT="!test? ( test )" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3616aae899723b001c0d9a4b6a9051ed3d8f019e;p=gentoo.git sys-libs/glibc: add RESTRICT="!test? ( test )" Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Sergei Trofimovich --- diff --git a/sys-libs/glibc/glibc-2.28-r6.ebuild b/sys-libs/glibc/glibc-2.28-r6.ebuild index 542ac476177c..329875854994 100644 --- a/sys-libs/glibc/glibc-2.28-r6.ebuild +++ b/sys-libs/glibc/glibc-2.28-r6.ebuild @@ -78,7 +78,7 @@ fi # As Gentoo's strip does not allow us to pass less aggressive stripping # options and does not check the machine target we disable stripping # entirely. -RESTRICT=strip +RESTRICT="strip !test? ( test )" # We need a new-enough binutils/gcc to match upstream baseline. # Also we need to make sure our binutils/gcc supports TLS, diff --git a/sys-libs/glibc/glibc-2.29-r2.ebuild b/sys-libs/glibc/glibc-2.29-r2.ebuild index fffa190fc854..5e57364b5be2 100644 --- a/sys-libs/glibc/glibc-2.29-r2.ebuild +++ b/sys-libs/glibc/glibc-2.29-r2.ebuild @@ -80,7 +80,7 @@ fi # As Gentoo's strip does not allow us to pass less aggressive stripping # options and does not check the machine target we disable stripping # entirely. -RESTRICT=strip +RESTRICT="strip !test? ( test )" # We need a new-enough binutils/gcc to match upstream baseline. # Also we need to make sure our binutils/gcc supports TLS, diff --git a/sys-libs/glibc/glibc-2.29-r5.ebuild b/sys-libs/glibc/glibc-2.29-r5.ebuild index cbcf205430f2..5cb7bd73144c 100644 --- a/sys-libs/glibc/glibc-2.29-r5.ebuild +++ b/sys-libs/glibc/glibc-2.29-r5.ebuild @@ -80,7 +80,7 @@ fi # As Gentoo's strip does not allow us to pass less aggressive stripping # options and does not check the machine target we disable stripping # entirely. -RESTRICT=strip +RESTRICT="strip !test? ( test )" # We need a new-enough binutils/gcc to match upstream baseline. # Also we need to make sure our binutils/gcc supports TLS, diff --git a/sys-libs/glibc/glibc-2.29-r6.ebuild b/sys-libs/glibc/glibc-2.29-r6.ebuild index 2c67eee47a02..8f88020a9c25 100644 --- a/sys-libs/glibc/glibc-2.29-r6.ebuild +++ b/sys-libs/glibc/glibc-2.29-r6.ebuild @@ -107,6 +107,8 @@ RDEPEND="${COMMON_DEPEND} sys-apps/gentoo-functions " +RESTRICT="!test? ( test )" + if [[ ${CATEGORY} == cross-* ]] ; then BDEPEND+=" !headers-only? ( >=${CATEGORY}/binutils-2.24 diff --git a/sys-libs/glibc/glibc-2.30-r2.ebuild b/sys-libs/glibc/glibc-2.30-r2.ebuild index 97a8ffa71652..f3282ba8a07f 100644 --- a/sys-libs/glibc/glibc-2.30-r2.ebuild +++ b/sys-libs/glibc/glibc-2.30-r2.ebuild @@ -107,6 +107,8 @@ RDEPEND="${COMMON_DEPEND} sys-apps/gentoo-functions " +RESTRICT="!test? ( test )" + if [[ ${CATEGORY} == cross-* ]] ; then BDEPEND+=" !headers-only? ( >=${CATEGORY}/binutils-2.24 diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index 46d8888c699a..2298db5a53ad 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -108,6 +108,8 @@ RDEPEND="${COMMON_DEPEND} sys-apps/gentoo-functions " +RESTRICT="!test? ( test )" + if [[ ${CATEGORY} == cross-* ]] ; then BDEPEND+=" !headers-only? ( >=${CATEGORY}/binutils-2.24