From: Anthony G. Basile Date: Tue, 28 Aug 2018 01:21:28 +0000 (-0400) Subject: net-libs/mbedtls: enable static-libs X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2fd698cfdc20cfb0d4574fe7348e75ebbe9bc3c6;p=gentoo.git net-libs/mbedtls: enable static-libs Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- diff --git a/net-libs/mbedtls/mbedtls-2.11.0.ebuild b/net-libs/mbedtls/mbedtls-2.11.0.ebuild index 3172e24a3923..ce835a31211c 100644 --- a/net-libs/mbedtls/mbedtls-2.11.0.ebuild +++ b/net-libs/mbedtls/mbedtls-2.11.0.ebuild @@ -13,7 +13,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="Apache-2.0" SLOT="0/11" # slot for libmbedtls.so KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="cpu_flags_x86_sse2 doc havege libressl programs test threads zlib" +IUSE="cpu_flags_x86_sse2 doc havege libressl programs -static-libs test threads zlib" RDEPEND=" programs? ( @@ -47,7 +47,7 @@ multilib_src_configure() { local mycmakeargs=( -DENABLE_PROGRAMS=$(multilib_native_usex programs) -DENABLE_ZLIB_SUPPORT=$(usex zlib) - -DUSE_STATIC_MBEDTLS_LIBRARY=OFF + -DUSE_STATIC_MBEDTLS_LIBRARY=$(usex static-libs) -DENABLE_TESTING=$(usex test) -DUSE_SHARED_MBEDTLS_LIBRARY=ON -DINSTALL_MBEDTLS_HEADERS=ON diff --git a/net-libs/mbedtls/mbedtls-2.12.0.ebuild b/net-libs/mbedtls/mbedtls-2.12.0.ebuild index 3172e24a3923..ce835a31211c 100644 --- a/net-libs/mbedtls/mbedtls-2.12.0.ebuild +++ b/net-libs/mbedtls/mbedtls-2.12.0.ebuild @@ -13,7 +13,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="Apache-2.0" SLOT="0/11" # slot for libmbedtls.so KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="cpu_flags_x86_sse2 doc havege libressl programs test threads zlib" +IUSE="cpu_flags_x86_sse2 doc havege libressl programs -static-libs test threads zlib" RDEPEND=" programs? ( @@ -47,7 +47,7 @@ multilib_src_configure() { local mycmakeargs=( -DENABLE_PROGRAMS=$(multilib_native_usex programs) -DENABLE_ZLIB_SUPPORT=$(usex zlib) - -DUSE_STATIC_MBEDTLS_LIBRARY=OFF + -DUSE_STATIC_MBEDTLS_LIBRARY=$(usex static-libs) -DENABLE_TESTING=$(usex test) -DUSE_SHARED_MBEDTLS_LIBRARY=ON -DINSTALL_MBEDTLS_HEADERS=ON