commit:     4b3cb4b10ca8451b78d225ac90ccda6724600c15
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  2 22:33:19 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jan  2 22:33:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b3cb4b1

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 <soap <AT> gentoo.org>

 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 fe147aa0b12..9f172592690 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 d3d9b405a53..507cb4e72cf 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

Reply via email to