diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-07 22:52:32 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-07 22:52:39 +0100 |
commit | 58b70fa41e826a30e131b8f3064bff128867ac76 (patch) | |
tree | bb2c72ebc91fe746eb24c3bb0ed66dd12f134da0 /app-portage | |
parent | dev-lang/perl: Pod-Parser was removed from core (diff) | |
download | gentoo-58b70fa41e826a30e131b8f3064bff128867ac76.tar.gz gentoo-58b70fa41e826a30e131b8f3064bff128867ac76.tar.bz2 gentoo-58b70fa41e826a30e131b8f3064bff128867ac76.zip |
app-portage/fquery: tweak for cabal-3
Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/736270
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/fquery/fquery-0.2.3-r1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-portage/fquery/fquery-0.2.3-r1.ebuild b/app-portage/fquery/fquery-0.2.3-r1.ebuild new file mode 100644 index 000000000000..3bee7263715e --- /dev/null +++ b/app-portage/fquery/fquery-0.2.3-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.4.6.9999 + +CABAL_FEATURES="bin" +inherit haskell-cabal + +DESCRIPTION="Installed package query tool for Gentoo Linux" +HOMEPAGE="http://hackage.haskell.org/package/fquery" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-haskell/hashtables:= + dev-haskell/parsec:= + dev-haskell/regex-compat:= + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" + +src_prepare() { + default + + # Workaround for Cabal 2.2.0.1 running configure with + # ${S}/dist/build set as the current directory. This changes + # the script to prepend ${S}/ to the the paths. The script + # then uses the ${S} environment variable. + sed -e 's@\(Adelie/\)@${S}/\1@g' \ + -i configure || die +} |