commit:     01d3466d31ebd63f64685f1b3b09c8a4ae841b90
Author:     matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Tue Aug 23 16:18:44 2022 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Aug 28 22:01:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01d3466d

net-misc/hath: keyword 0.5.0 for ~ppc64

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 net-misc/hath/hath-0.5.0.ebuild | 9 +++++++--
 1 file 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"

Reply via email to