public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/wimlib/
Date: Fri, 16 Jul 2021 06:01:23 +0000 (UTC)	[thread overview]
Message-ID: <1626415248.e1ce8e9db947f837e833ccea1a63b4c5f84f662a.juippis@gentoo> (raw)

commit:     e1ce8e9db947f837e833ccea1a63b4c5f84f662a
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 16 06:00:48 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jul 16 06:00:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1ce8e9d

app-arch/wimlib: openssl -> ssl in 1.13.4

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-arch/wimlib/wimlib-1.13.4.ebuild | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/app-arch/wimlib/wimlib-1.13.4.ebuild b/app-arch/wimlib/wimlib-1.13.4.ebuild
index 20589458d68..84e997127f0 100644
--- a/app-arch/wimlib/wimlib-1.13.4.ebuild
+++ b/app-arch/wimlib/wimlib-1.13.4.ebuild
@@ -12,8 +12,7 @@ SRC_URI="https://wimlib.net/downloads/${P}.tar.gz"
 KEYWORDS="~amd64 ~x86"
 LICENSE="|| ( GPL-3+ LGPL-3+ ) CC0-1.0"
 SLOT="0"
-IUSE="cpu_flags_x86_ssse3 fuse iso ntfs openssl test threads yasm"
-REQUIRED_USE="cpu_flags_x86_ssse3? ( !openssl )"
+IUSE="cpu_flags_x86_ssse3 fuse iso ntfs ssl test threads yasm"
 
 RESTRICT="!test? ( test )"
 
@@ -32,7 +31,7 @@ RDEPEND="
 		app-cdr/cdrtools
 	)
 	ntfs? ( sys-fs/ntfs3g )
-	openssl? ( dev-libs/openssl:0= )
+	ssl? ( dev-libs/openssl:0= )
 "
 
 src_prepare() {
@@ -44,12 +43,22 @@ src_configure() {
 	local myeconfargs=(
 		$(use_with ntfs ntfs-3g)
 		$(use_with fuse)
-		$(use_enable cpu_flags_x86_ssse3 ssse3-sha1)
-		$(use_with openssl libcrypto)
+		$(use_with ssl libcrypto)
 		$(use_enable threads multithreaded-compression)
 		$(use_enable test test-support)
 		--disable-static
 	)
+
+	if use cpu_flags_x86_ssse3; then
+		if ! use ssl; then
+			myeconfargs+=( --enable-ssse3-sha1 )
+		else
+			elog "cpu_flags_x86_ssse3 and ssl can't be enabled together, "
+			elog "enabling ssl and disabling cpu_flags_x86_ssse3 for you."
+			myeconfargs+=( --disable-ssse3-sha1 )
+		fi
+	fi
+
 	ac_cv_prog_NASM="$(usex yasm yasm nasm)" \
 		econf "${myeconfargs[@]}"
 }


             reply	other threads:[~2021-07-16  6:01 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-16  6:01 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-26 17:29 [gentoo-commits] repo/gentoo:master commit in: app-arch/wimlib/ Mike Gilbert
2024-09-05 19:54 Petr Vaněk
2024-08-31 20:26 Sam James
2024-08-31 20:26 Sam James
2024-08-31 14:49 Petr Vaněk
2023-06-03 16:16 Arthur Zamarin
2023-06-03 16:12 Arthur Zamarin
2023-05-03  8:59 Sam James
2022-04-17 20:05 Sam James
2021-12-05 18:31 Sam James
2021-12-05  4:00 Sam James
2021-09-01  9:38 David Seifert
2021-07-16  6:01 Joonas Niilola
2021-07-16  6:01 Joonas Niilola
2021-07-13  6:33 Agostino Sarubbo
2021-07-12  6:35 Agostino Sarubbo
2021-01-19  3:15 Sam James
2021-01-19  3:15 Sam James
2021-01-19  3:15 Sam James
2019-11-02 11:45 Michał Górny
2019-01-01 18:47 Slawek Lis
2018-01-17  9:50 Slawek Lis
2018-01-17  9:20 Slawek Lis
2018-01-16  6:55 Slawek Lis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1626415248.e1ce8e9db947f837e833ccea1a63b4c5f84f662a.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox