dev-libs/libressl: enable REQUIRED_USE for tests and drop eutils

Upstream has noted that tests require static-libs. As such, require that
static-libs USE flag is set. Additionally, drop eutils eclass in favor
of ltprune as the only function called is prune_libtool_files.

Closes: https://bugs.gentoo.org/625266
Closes: https://bugs.gentoo.org/607960
Package-Manager: Portage-2.3.28, Repoman-2.3.9
This commit is contained in:
Aaron Bauman
2018-04-16 21:31:09 -04:00
parent a86a5999ce
commit ccbc8eb528
3 changed files with 9 additions and 8 deletions
+3 -4
View File
@@ -3,7 +3,7 @@
EAPI=6
inherit eutils multilib-minimal
inherit ltprune multilib-minimal
DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
HOMEPAGE="https://www.libressl.org/"
@@ -15,14 +15,13 @@ LICENSE="ISC openssl"
# versions, we have to change the subslot to trigger rebuild of consumers.
SLOT="0/43"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
IUSE="+asm static-libs"
IUSE="+asm static-libs test"
REQUIRED_USE="test? ( static-libs )"
RDEPEND="!dev-libs/openssl:0"
DEPEND="${RDEPEND}"
PDEPEND="app-misc/ca-certificates"
RESTRICT="test" # bug #625266
src_prepare() {
touch crypto/Makefile.in
+3 -2
View File
@@ -3,7 +3,7 @@
EAPI=6
inherit eutils multilib-minimal
inherit ltprune multilib-minimal
DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
HOMEPAGE="https://www.libressl.org/"
@@ -15,7 +15,8 @@ LICENSE="ISC openssl"
# versions, we have to change the subslot to trigger rebuild of consumers.
SLOT="0/44"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
IUSE="+asm static-libs"
IUSE="+asm static-libs test"
REQUIRED_USE="test? ( static-libs )"
RDEPEND="!dev-libs/openssl:0"
DEPEND="${RDEPEND}"
+3 -2
View File
@@ -3,7 +3,7 @@
EAPI=6
inherit eutils multilib-minimal
inherit ltprune multilib-minimal
DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
HOMEPAGE="https://www.libressl.org/"
@@ -16,7 +16,8 @@ LICENSE="ISC openssl"
SLOT="0/45"
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS=""
IUSE="+asm static-libs"
IUSE="+asm static-libs test"
REQUIRED_USE="test? ( static-libs )"
RDEPEND="!dev-libs/openssl:0"
DEPEND="${RDEPEND}"