commit:     2b4d32d1c303961f61b9ad35f846bc333f10d865
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Wed Jun  7 08:58:55 2023 +0000
Commit:     Joe Kappus <joe <AT> wt <DOT> gd>
CommitDate: Wed Jun  7 08:58:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b4d32d1

app-office/lotus123r3: QA fixups

- No need to call objdump
- Respect cflags in other Makefiles

Closes: https://bugs.gentoo.org/905832
Signed-off-by: Joe Kappus <joe <AT> wt.gd>

 app-office/lotus123r3/lotus123r3-1.0.0_rc4.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/app-office/lotus123r3/lotus123r3-1.0.0_rc4.ebuild 
b/app-office/lotus123r3/lotus123r3-1.0.0_rc4.ebuild
index 06126476c..a21820362 100644
--- a/app-office/lotus123r3/lotus123r3-1.0.0_rc4.ebuild
+++ b/app-office/lotus123r3/lotus123r3-1.0.0_rc4.ebuild
@@ -47,5 +47,12 @@ src_prepare() {
        ./extract.sh
 
        # Fix the Makefile
-       sed -i 's|prefix = /usr/local|prefix = $(DESTDIR)/usr|g' Makefile
+       sed -i \
+               -e 's|prefix = /usr/local|prefix = $(DESTDIR)/usr|g' \
+               -e 's/^all: check /all: /' \
+               Makefile
+
+       # Respect CFLAGS in other Makefiles
+       sed -i 's/-ggdb3 -O0//' keymap/Makefile res/Makefile
+
 }

Reply via email to