summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-03-26 22:04:37 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2016-03-26 22:04:37 +0000
commit01917e11faa17fddc5250162989cf669fbc287e6 (patch)
tree6e45d9675c75950d40354a43cb53c8edb92db491 /dev-haskell/wx
parentdev-haskell/wxcore: bump up to 0.92.2.0 (diff)
downloadgentoo-01917e11faa17fddc5250162989cf669fbc287e6.tar.gz
gentoo-01917e11faa17fddc5250162989cf669fbc287e6.tar.bz2
gentoo-01917e11faa17fddc5250162989cf669fbc287e6.zip
dev-haskell/wx: bump up to 0.92.2.0
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-haskell/wx')
-rw-r--r--dev-haskell/wx/Manifest1
-rw-r--r--dev-haskell/wx/wx-0.92.2.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-haskell/wx/Manifest b/dev-haskell/wx/Manifest
index 6ab460b77a6a..09d0cdbc262c 100644
--- a/dev-haskell/wx/Manifest
+++ b/dev-haskell/wx/Manifest
@@ -3,3 +3,4 @@ DIST wx-0.13.2.3.tar.gz 47946 SHA256 fb61abfd40eaa3d7f1284735219b8d9dd09791ff049
DIST wx-0.90.0.1.tar.gz 47811 SHA256 150d448988afe0914aebb7bd61d58a27d12dd857e3d79e128ddf33a9f5a5db84 SHA512 8b828abd88a9620d31b3910a723ecbc8f6b011d16c175cdcd063796dac633d10ca335f1666f2402515868ca4f6a2e07582588436343645caf466e248b72291cb WHIRLPOOL bdfc89034f095833bb72f59ff09208306e6d5940859f8f03428d3e242b2a7264657a5800b9138797c157df0b6b3484a9074f267fc28fe1beecdb6ffa40fb6ebc
DIST wx-0.90.1.0.tar.gz 48667 SHA256 c94e6ac36aa019e091098d871d4c39eb3f6735f6ef03e6093b7bb0715aaec998 SHA512 864255c753d77228c0815b78c4b17eb0d0f647ce4943a3e08aa2b610a2956f560ea492e043a534ca8812f39999a0fcbe0f608d85cbb08484b2c47a5c6431c4d9 WHIRLPOOL c318a37ae30bff5287f74622311de27e79adfe6bec2bd1e5d40c68acfc56c8c41960e4d85582c699cfe2e53ebd1b51c2ba391ea4eff6362ec9cdf8ded87e8af8
DIST wx-0.90.tar.gz 47544 SHA256 42ca525d62b87563b5ed8a038368dc49c0b503701cc1ee36e845ab9a92453907 SHA512 0cc2dae07df26f2fc0849d9aff92c486dfcea9858842636102247843292e75bd7c6f64e5e11c1b3fc54953fb99f12db0633c4ba7926a2e3e3e28aeae6d0dc93f WHIRLPOOL 2a91d50601c1681eea4f6cc64582a602629b5406bb0d1050a01082d178ee837aa415abb5af6cde952ba5d613b53a791be03f18e46060cd533577509a9eb074a8
+DIST wx-0.92.2.0.tar.gz 50938 SHA256 a1d02b17cd336f0c435381c9f2ce74aad2059c56a00c678954089b74065a97fb SHA512 f8bbb2598fc1555030ebe3084737d6f8c0691a3e2fddd9b979c4694442b458937a9bb6afe347b2a5661b7d70339194087ce083ad6efc01173bc0f62b72bf1134 WHIRLPOOL abf86d664afd3b8e109e0745d89d035cab0ca6e537305b38a97afe1c1cb84a61b87f527968d8b901b91d6d1165d7ee65d5e0b7001bf7b77a946016b49bb5c442
diff --git a/dev-haskell/wx/wx-0.92.2.0.ebuild b/dev-haskell/wx/wx-0.92.2.0.ebuild
new file mode 100644
index 000000000000..cd8767e0c1e0
--- /dev/null
+++ b/dev-haskell/wx/wx-0.92.2.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.7.9999
+
+WX_GTK_VER="3.0"
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="wxHaskell"
+HOMEPAGE="https://wiki.haskell.org/WxHaskell"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="wxWinLL-3.1"
+SLOT="${WX_GTK_VER}/${PV}"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/stm:=[profile?]
+ >=dev-haskell/wxcore-0.92:${WX_GTK_VER}=[profile?]
+ >=dev-lang/ghc-7.6.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.16.0
+"
+
+src_configure() {
+ # ghc DCE bug: https://ghc.haskell.org/trac/ghc/ticket/9155
+ [[ $(ghc-version) == 7.8.2 ]] && replace-hcflags -O[2-9] -O1
+ # ghc DCE bug: https://ghc.haskell.org/trac/ghc/ticket/9303
+ [[ $(ghc-version) == 7.8.3 ]] && replace-hcflags -O[2-9] -O1
+
+ haskell-cabal_src_configure \
+ --flag=newbase
+}