summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-haskell/readline/files/readline-1.0.3.0-tinfo.patch9
-rw-r--r--dev-haskell/readline/readline-1.0.3.0-r1.ebuild30
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-haskell/readline/files/readline-1.0.3.0-tinfo.patch b/dev-haskell/readline/files/readline-1.0.3.0-tinfo.patch
new file mode 100644
index 000000000000..d6055164bab2
--- /dev/null
+++ b/dev-haskell/readline/files/readline-1.0.3.0-tinfo.patch
@@ -0,0 +1,9 @@
+https://bugs.gentoo.org/690268
+--- a/configure.ac
++++ b/configure.ac
+@@ -57,3 +57,4 @@ else
+ AC_CHECK_LIB(curses, tputs, HaveLibTermcap=YES; LibTermcap=curses,
+- HaveLibTermcap=NO; LibTermcap=not-installed)))
++ AC_CHECK_LIB(tinfo, tputs, HaveLibTermcap=YES; LibTermcap=tinfo,
++ HaveLibTermcap=NO; LibTermcap=not-installed))))
+
diff --git a/dev-haskell/readline/readline-1.0.3.0-r1.ebuild b/dev-haskell/readline/readline-1.0.3.0-r1.ebuild
new file mode 100644
index 000000000000..ae805749a726
--- /dev/null
+++ b/dev-haskell/readline/readline-1.0.3.0-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.3.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit autotools haskell-cabal
+
+DESCRIPTION="An interface to the GNU readline library"
+HOMEPAGE="http://hackage.haskell.org/package/readline"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"
+
+PATCHES=("${FILESDIR}"/${P}-tinfo.patch)
+
+src_prepare() {
+ default
+
+ eautoconf
+} \ No newline at end of file