From 4b3cb4b10ca8451b78d225ac90ccda6724600c15 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 2 Jan 2021 23:33:19 +0100 Subject: dev-libs/libgcrypt: USE="static-libs" for sys-power/suspend[crypt] Bug: https://bugs.gentoo.org/751568 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: David Seifert --- dev-libs/libgcrypt/libgcrypt-1.8.6.ebuild | 7 ++++--- dev-libs/libgcrypt/libgcrypt-1.8.7.ebuild | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.6.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.6.ebuild index fe147aa0b123..9f1725926907 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.8.6.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.8.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" LICENSE="LGPL-2.1 MIT" SLOT="0/20" # subslot = soname major version KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc o-flag-munging" +IUSE="doc o-flag-munging static-libs" RDEPEND=">=dev-libs/libgpg-error-1.25[${MULTILIB_USEDEP}]" DEPEND="${RDEPEND}" @@ -42,7 +42,8 @@ multilib_src_configure() { local myeconfargs=( CC_FOR_BUILD="$(tc-getBUILD_CC)" --enable-noexecstack - --disable-static + # required for sys-power/suspend[crypt], bug 751568 + $(use_enable static-libs static) $(use_enable o-flag-munging O-flag-munging) # disabled due to various applications requiring privileges diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.7.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.7.ebuild index d3d9b405a532..507cb4e72cfa 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.8.7.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.8.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" LICENSE="LGPL-2.1 MIT" SLOT="0/20" # subslot = soname major version KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc o-flag-munging" +IUSE="doc o-flag-munging static-libs" RDEPEND=">=dev-libs/libgpg-error-1.25[${MULTILIB_USEDEP}]" DEPEND="${RDEPEND}" @@ -42,7 +42,8 @@ multilib_src_configure() { local myeconfargs=( CC_FOR_BUILD="$(tc-getBUILD_CC)" --enable-noexecstack - --disable-static + # required for sys-power/suspend[crypt], bug 751568 + $(use_enable static-libs static) $(use_enable o-flag-munging O-flag-munging) # disabled due to various applications requiring privileges -- cgit v1.2.3-65-gdbad