summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/list-remote-forwards')
-rw-r--r--net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
index 9eaad075cb50..5f826c60fefc 100644
--- a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
+++ b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,7 +14,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE=""
RESTRICT=test # Ambiguous packages: dns-3.0.2 resolv-0.1.1.1
@@ -41,6 +41,11 @@ PATCHES=(
"${FILESDIR}"/${P}-ghc84.patch
)
+src_prepare() {
+ sed -i -e "/-optc-O3/d" -e "/-optc-march=native/d" "${PN}.cabal" || die
+ default
+}
+
src_install() {
haskell-cabal_src_install
doman "${S}/doc/man1/${PN}.1"