1 |
commit: 58b70fa41e826a30e131b8f3064bff128867ac76 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 7 21:52:32 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 7 21:52:39 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58b70fa4 |
7 |
|
8 |
app-portage/fquery: tweak for cabal-3 |
9 |
|
10 |
Reported-by: Toralf Förster |
11 |
Closes: https://bugs.gentoo.org/736270 |
12 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
app-portage/fquery/fquery-0.2.3-r1.ebuild | 38 +++++++++++++++++++++++++++++++ |
16 |
1 file changed, 38 insertions(+) |
17 |
|
18 |
diff --git a/app-portage/fquery/fquery-0.2.3-r1.ebuild b/app-portage/fquery/fquery-0.2.3-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..3bee7263715 |
21 |
--- /dev/null |
22 |
+++ b/app-portage/fquery/fquery-0.2.3-r1.ebuild |
23 |
@@ -0,0 +1,38 @@ |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=6 |
28 |
+ |
29 |
+# ebuild generated by hackport 0.4.6.9999 |
30 |
+ |
31 |
+CABAL_FEATURES="bin" |
32 |
+inherit haskell-cabal |
33 |
+ |
34 |
+DESCRIPTION="Installed package query tool for Gentoo Linux" |
35 |
+HOMEPAGE="http://hackage.haskell.org/package/fquery" |
36 |
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" |
37 |
+ |
38 |
+LICENSE="ZLIB" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~x86" |
41 |
+IUSE="" |
42 |
+ |
43 |
+RDEPEND="dev-haskell/hashtables:= |
44 |
+ dev-haskell/parsec:= |
45 |
+ dev-haskell/regex-compat:= |
46 |
+ >=dev-lang/ghc-7.4.1:= |
47 |
+" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ >=dev-haskell/cabal-1.6 |
50 |
+" |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ default |
54 |
+ |
55 |
+ # Workaround for Cabal 2.2.0.1 running configure with |
56 |
+ # ${S}/dist/build set as the current directory. This changes |
57 |
+ # the script to prepend ${S}/ to the the paths. The script |
58 |
+ # then uses the ${S} environment variable. |
59 |
+ sed -e 's@\(Adelie/\)@${S}/\1@g' \ |
60 |
+ -i configure || die |
61 |
+} |