summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2018-08-27 21:21:28 -0400
committerAnthony G. Basile <blueness@gentoo.org>2018-08-27 21:21:28 -0400
commit2fd698cfdc20cfb0d4574fe7348e75ebbe9bc3c6 (patch)
treecf16a418ddc516dcc03abfc33ff4477724bb2936 /net-libs/mbedtls
parentdev-php/pecl-mongodb: new version 1.5.2. (diff)
downloadgentoo-2fd698cfdc20cfb0d4574fe7348e75ebbe9bc3c6.tar.gz
gentoo-2fd698cfdc20cfb0d4574fe7348e75ebbe9bc3c6.tar.bz2
gentoo-2fd698cfdc20cfb0d4574fe7348e75ebbe9bc3c6.zip
net-libs/mbedtls: enable static-libs
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-libs/mbedtls')
-rw-r--r--net-libs/mbedtls/mbedtls-2.11.0.ebuild4
-rw-r--r--net-libs/mbedtls/mbedtls-2.12.0.ebuild4
2 files changed, 4 insertions, 4 deletions
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