summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Blas (klondike) Izquierdo Riera <klondike@gentoo.org>2020-07-13 19:21:08 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-07-24 15:03:31 +0300
commitfb58997e80a3e0609f9f68ac8ef0b5cd1fac1085 (patch)
treed89c6286de7544957196f7f2d6e1971c938ca1c8 /dev-haskell/cryptonite
parentprofiles: add cpu_flags_x86_rdrand USE_EXPAND (diff)
downloadgentoo-fb58997e80a3e0609f9f68ac8ef0b5cd1fac1085.tar.gz
gentoo-fb58997e80a3e0609f9f68ac8ef0b5cd1fac1085.tar.bz2
gentoo-fb58997e80a3e0609f9f68ac8ef0b5cd1fac1085.zip
dev-haskell/cryptonite: Change USE to cpu_flags_x86_rdrand
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-haskell/cryptonite')
-rw-r--r--dev-haskell/cryptonite/cryptonite-0.21.ebuild8
-rw-r--r--dev-haskell/cryptonite/cryptonite-0.26-r1.ebuild6
-rw-r--r--dev-haskell/cryptonite/metadata.xml1
3 files changed, 7 insertions, 8 deletions
diff --git a/dev-haskell/cryptonite/cryptonite-0.21.ebuild b/dev-haskell/cryptonite/cryptonite-0.21.ebuild
index 531dfe8cfb7f..3198705f21b4 100644
--- a/dev-haskell/cryptonite/cryptonite-0.21.ebuild
+++ b/dev-haskell/cryptonite/cryptonite-0.21.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# ebuild generated by hackport 0.6.9999
-#hackport: flags: -check_alignment,-old_toolchain_inliner,+support_deepseq,support_aesni:cpu_flags_x86_aes,support_pclmuldq:cpu_flags_x86_sse4_1,support_rdrand:cpu-flags-x86-rdrand,support_blake2_sse:cpu_flags_x86_sse2
+#hackport: flags: -check_alignment,-old_toolchain_inliner,+support_deepseq,support_aesni:cpu_flags_x86_aes,support_pclmuldq:cpu_flags_x86_sse4_1,support_rdrand:cpu_flags_x86_rdrand,support_blake2_sse:cpu_flags_x86_sse2
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
@@ -16,7 +16,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="cpu-flags-x86-rdrand cpu_flags_x86_aes cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 +integer-gmp"
+IUSE="cpu_flags_x86_rdrand cpu_flags_x86_aes cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 +integer-gmp"
RDEPEND=">=dev-haskell/memory-0.8:=[profile?]
>=dev-lang/ghc-7.4.1:=
@@ -43,5 +43,5 @@ src_configure() {
$(cabal_flag cpu_flags_x86_sse2 support_blake2_sse) \
--flag=support_deepseq \
$(cabal_flag cpu_flags_x86_sse4_1 support_pclmuldq) \
- $(cabal_flag cpu-flags-x86-rdrand support_rdrand)
+ $(cabal_flag cpu_flags_x86_rdrand support_rdrand)
}
diff --git a/dev-haskell/cryptonite/cryptonite-0.26-r1.ebuild b/dev-haskell/cryptonite/cryptonite-0.26-r1.ebuild
index 8d097bb5cfaf..da6a90056ed2 100644
--- a/dev-haskell/cryptonite/cryptonite-0.26-r1.ebuild
+++ b/dev-haskell/cryptonite/cryptonite-0.26-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=7
# ebuild generated by hackport 0.6.1.9999
-#hackport: flags: -check_alignment,-old_toolchain_inliner,+support_deepseq,support_aesni:cpu_flags_x86_aes,support_pclmuldq:cpu_flags_x86_sse4_1,support_sse:cpu_flags_x86_sse,support_rdrand:cpu-flags-x86-rdrand
+#hackport: flags: -check_alignment,-old_toolchain_inliner,+support_deepseq,support_aesni:cpu_flags_x86_aes,support_pclmuldq:cpu_flags_x86_sse4_1,support_sse:cpu_flags_x86_sse,support_rdrand:cpu_flags_x86_rdrand
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
@@ -16,7 +16,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
-IUSE="+cpu-flags-x86-rdrand +cpu_flags_x86_aes cpu_flags_x86_sse cpu_flags_x86_sse4_1 +integer-gmp"
+IUSE="+cpu_flags_x86_rdrand +cpu_flags_x86_aes cpu_flags_x86_sse cpu_flags_x86_sse4_1 +integer-gmp"
RDEPEND=">=dev-haskell/basement-0.0.6:=[profile?]
>=dev-haskell/memory-0.14.18:=[profile?]
@@ -40,6 +40,6 @@ src_configure() {
$(cabal_flag cpu_flags_x86_aes support_aesni) \
--flag=support_deepseq \
$(cabal_flag cpu_flags_x86_sse4_1 support_pclmuldq) \
- $(cabal_flag cpu-flags-x86-rdrand support_rdrand) \
+ $(cabal_flag cpu_flags_x86_rdrand support_rdrand) \
$(cabal_flag cpu_flags_x86_sse support_sse)
}
diff --git a/dev-haskell/cryptonite/metadata.xml b/dev-haskell/cryptonite/metadata.xml
index c845b334ecdc..8e02ebe625c7 100644
--- a/dev-haskell/cryptonite/metadata.xml
+++ b/dev-haskell/cryptonite/metadata.xml
@@ -29,7 +29,6 @@
Evaluate the security related to your requirements before using.
</longdescription>
<use>
- <flag name="cpu-flags-x86-rdrand">allow compilation with RDRAND on system and architecture that supports it</flag>
<flag name="integer-gmp">Whether or not to use GMP for some functions</flag>
</use>
<upstream>