summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatoro <matoro@users.noreply.github.com>2022-08-23 12:18:44 -0400
committerMichael Orlitzky <mjo@gentoo.org>2022-08-28 18:01:27 -0400
commit01d3466d31ebd63f64685f1b3b09c8a4ae841b90 (patch)
treeccd8d1056ad9024b830cb0194b4562ef32d45d94 /net-misc/hath
parentnet-misc/haeredes: keyword 0.5.2 for ~ppc64 (diff)
downloadgentoo-01d3466d31ebd63f64685f1b3b09c8a4ae841b90.tar.gz
gentoo-01d3466d31ebd63f64685f1b3b09c8a4ae841b90.tar.bz2
gentoo-01d3466d31ebd63f64685f1b3b09c8a4ae841b90.zip
net-misc/hath: keyword 0.5.0 for ~ppc64
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'net-misc/hath')
-rw-r--r--net-misc/hath/hath-0.5.0.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-misc/hath/hath-0.5.0.ebuild b/net-misc/hath/hath-0.5.0.ebuild
index 3f2f323611b6..3eee516d3abc 100644
--- a/net-misc/hath/hath-0.5.0.ebuild
+++ b/net-misc/hath/hath-0.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="AGPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE=""
RDEPEND=">=dev-haskell/cmdargs-0.10:=
@@ -29,6 +29,11 @@ DEPEND="${RDEPEND}
test? ( dev-util/shelltestrunner )
"
+src_prepare() {
+ sed -i -e '/-optc-O3/d' -e '/-optc-march=native/d' "${PN}.cabal" || die
+ default
+}
+
src_install() {
cabal_src_install
doman "${S}/doc/man1/${PN}.1"