Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Gentoo
Haskell
Commits
16aa1810
Commit
16aa1810
authored
Apr 12, 2018
by
Mark Wright
Browse files
app-portage/fquery: workaround for Cabal 2.2.0.1
parent
27dc9133
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
1 deletion
+46
-1
app-portage/fquery/fquery-0.2.3-r1.ebuild
app-portage/fquery/fquery-0.2.3-r1.ebuild
+38
-0
app-portage/fquery/fquery-9999.ebuild
app-portage/fquery/fquery-9999.ebuild
+8
-1
No files found.
app-portage/fquery/fquery-0.2.3-r1.ebuild
0 → 100644
View file @
16aa1810
# Copyright 1999-2018 Gentoo Foundation
# 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
=
"mirror://hackage/packages/archive/
${
PN
}
/
${
PV
}
/
${
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
}
app-portage/fquery/fquery-9999.ebuild
View file @
16aa1810
# Copyright 1999-201
6
Gentoo Foundation
# Copyright 1999-201
8
Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the GNU General Public License v2
EAPI
=
5
EAPI
=
5
...
@@ -28,4 +28,11 @@ DEPEND="${RDEPEND}
...
@@ -28,4 +28,11 @@ DEPEND="${RDEPEND}
src_prepare
()
{
src_prepare
()
{
sed
-e
's/^Version:.*/&.9999/'
-i
${
PN
}
.cabal
||
die
# just to distinct from release install
sed
-e
's/^Version:.*/&.9999/'
-i
${
PN
}
.cabal
||
die
# just to distinct from release install
# 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
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment