summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Todaro <solpeth@posteo.org>2020-08-04 17:42:29 +1000
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-04 09:41:35 +0100
commit65070e7b60d2a707cf6b89d0c6d3910fa1a7c3f8 (patch)
treee2b338aeb3c707336d862099f2b447635141f262 /dev-haskell
parentdev-java/jansi-native: fixed compilation with jdk 11 (diff)
downloadgentoo-65070e7b60d2a707cf6b89d0c6d3910fa1a7c3f8.tar.gz
gentoo-65070e7b60d2a707cf6b89d0c6d3910fa1a7c3f8.tar.bz2
gentoo-65070e7b60d2a707cf6b89d0c6d3910fa1a7c3f8.zip
dev-haskell/tls: disable building against dev-haskell/hans
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <solpeth@posteo.org> Closes: https://github.com/gentoo/gentoo/pull/16996 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/tls/metadata.xml1
-rw-r--r--dev-haskell/tls/tls-1.5.4.ebuild7
2 files changed, 3 insertions, 5 deletions
diff --git a/dev-haskell/tls/metadata.xml b/dev-haskell/tls/metadata.xml
index 5e8b0cfbd3f1..b95ef7b625de 100644
--- a/dev-haskell/tls/metadata.xml
+++ b/dev-haskell/tls/metadata.xml
@@ -22,7 +22,6 @@
<use>
<flag name="compat">Accept SSLv2 compatible handshake.</flag>
<flag name="network">Use the base network library.</flag>
- <flag name="hans">Use the Haskell Network Stack (HaNS).</flag>
</use>
<upstream>
<remote-id type="github">vincenthz/hs-tls</remote-id>
diff --git a/dev-haskell/tls/tls-1.5.4.ebuild b/dev-haskell/tls/tls-1.5.4.ebuild
index e3524550f229..e8454a5db2c0 100644
--- a/dev-haskell/tls/tls-1.5.4.ebuild
+++ b/dev-haskell/tls/tls-1.5.4.ebuild
@@ -4,7 +4,7 @@
EAPI=7
# ebuild generated by hackport 0.6.4
-
+#hackport: flags: -hans
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
@@ -15,7 +15,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
-IUSE="+compat hans +network"
+IUSE="+compat +network"
RDEPEND="dev-haskell/asn1-encoding:=[profile?]
>=dev-haskell/asn1-types-0.2.0:=[profile?]
@@ -30,7 +30,6 @@ RDEPEND="dev-haskell/asn1-encoding:=[profile?]
>=dev-haskell/x509-store-1.6:=[profile?]
>=dev-haskell/x509-validation-1.6.5:=[profile?]
>=dev-lang/ghc-8.0.1:=
- hans? ( dev-haskell/hans:=[profile?] )
network? ( >=dev-haskell/network-2.4.0.0:=[profile?] )
"
DEPEND="${RDEPEND}
@@ -43,6 +42,6 @@ DEPEND="${RDEPEND}
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag compat compat) \
- $(cabal_flag hans hans) \
+ --flag=-hans \
$(cabal_flag network network)
}