summaryrefslogtreecommitdiff
path: root/dev-haskell/readline
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-02 19:14:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-02 19:14:55 +0100
commitb24bd25253fe093f722ab576d29fdc41d04cb1ee (patch)
tree0fcf2afd9f852c4d4c291cf8afaa2c244d598105 /dev-haskell/readline
parent121ed4eec41fbf03e1998d09eede1bf449da63b9 (diff)
gentoo resync : 02.08.2019
Diffstat (limited to 'dev-haskell/readline')
-rw-r--r--dev-haskell/readline/Manifest2
-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
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-haskell/readline/Manifest b/dev-haskell/readline/Manifest
index bc92e2cca48d..6afffefa218f 100644
--- a/dev-haskell/readline/Manifest
+++ b/dev-haskell/readline/Manifest
@@ -1,3 +1,5 @@
+AUX readline-1.0.3.0-tinfo.patch 357 BLAKE2B 5b45158e98c09006b94f53ed0493fe5fb716831621cd1e5f204af7c28c39877f3fe71a5023e67dba94b47a4a11cca289ad9492410cb5d14d0d24588fcc5b8370 SHA512 b37cec53a7702c7532ff7945b95044544e376c7097911f04badbd49ff876835490ad445adde375b4a95bcd35f8dc1b4d5d78e4b30e7f4006eeaec6b11b37062f
DIST readline-1.0.3.0.tar.gz 52261 BLAKE2B 2b474efd091be91c46f121b144de719531943aba17d7cf845b2960b3f3dea77905a5838c8b7ab26975628763041321c0cd1aa8c34114205228466fb41c357e8e SHA512 30a8705323fe0185cadccd8ddf7069ce70007a8fc29761f31d0a4d585a5f3b622c9ae71d41577a7eec3a1c6f78949f9c56695df3a7986abef228e7ceb7375520
+EBUILD readline-1.0.3.0-r1.ebuild 678 BLAKE2B 3ee8e22d534101935d3fc71cada7355afe9fb6112bc782ea8fe90ae3f84a308592732044970b93d0a1f7ef02ee36afec5dfa076c1bce4d9db4a7f24f3671918e SHA512 0186268cf4519f7f5909b947b632774ba3b3565a6b90ce5f6eff802bc5580cf574a9d8fd8846fd21e889d47e6097150a4f73fc7a384ee246b9fbaba33625cd66
EBUILD readline-1.0.3.0.ebuild 589 BLAKE2B 47ce5c97f2114615ceb6c8ef46fecf6b7bf806f1f33a95090bcf09cf6e556feaab4a8d6f1b9e00841cbc26c98ceb7b36c1cd0e2288397ae3951b763121a72034 SHA512 ee7911dec61df0fde1e513ef41ec60e3991cb31f349fc471c709a798942bf71aaffbfe68a811c6a9c93f9fcc35a76b429c4f04206b7ac79a4bf914bb10a43042
MISC metadata.xml 217 BLAKE2B 41b11b7399431ee96c40a11373f20b12940ed7bb1fc77b1619212b2a57a3b34b11b77838d4ac51c1ddb80caab1030224e28567836e5d0a17b4ea6bd1afa2523c SHA512 63f267082f4ba17f6a1226d1c5a14d85d17e0f7a84857605933418d875d09cfffe2a0ca304b8a171dcae59169330fcc3cfca9d6f4c9ce24d135f1125a6d06c70
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..9b6aaa6771a6
--- /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
+}