dev-libs/libtasn1: Sync with Gentoo

It's from Gentoo commit d4f82cbd1149e87aea7212da218035d4e7a9215e.
This commit is contained in:
Flatcar Buildbot 2023-05-22 07:12:34 +00:00 committed by Krzesimir Nowak
parent a05ec7066b
commit 86edf014ef
2 changed files with 2 additions and 8 deletions

View File

@ -14,14 +14,13 @@ SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.gz.sig )"
LICENSE="LGPL-2.1+"
SLOT="0/6" # subslot = libtasn1 soname version
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="static-libs test valgrind"
IUSE="static-libs test"
RESTRICT="!test? ( test )"
BDEPEND="
sys-apps/help2man
app-alternatives/yacc
test? ( valgrind? ( dev-util/valgrind ) )
verify-sig? ( sec-keys/openpgp-keys-libtasn1 )
"
@ -41,8 +40,8 @@ multilib_src_configure() {
export gl_cv_warn_c__fanalyzer=no
local myeconfargs=(
--disable-valgrind-tests
$(use_enable static-libs static)
$(multilib_native_use_enable valgrind valgrind-tests)
)
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"

View File

@ -5,11 +5,6 @@
<name>Gentoo Base System</name>
<email>base-system@gentoo.org</email>
</maintainer>
<use>
<flag name="valgrind">
Enable usage of <pkg>dev-util/valgrind</pkg> in debug
</flag>
</use>
<upstream>
<changelog>https://gitlab.com/gnutls/libtasn1/blob/master/NEWS</changelog>
<remote-id type="cpe">cpe:/a:gnu:libtasn1</remote-id>