commit:     cd17c514cbb676b99d17e747657564936b76e475
Author:     Efe İzbudak <efe.izbudak <AT> metu <DOT> edu <DOT> tr>
AuthorDate: Thu Feb 23 13:07:42 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 13:10:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cd17c514

gui-apps/someblocks: prevent compiling in src_install

Closes: https://bugs.gentoo.org/887715
Signed-off-by: Efe İzbudak <efe.izbudak <AT> metu.edu.tr>

 gui-apps/someblocks/someblocks-1.0.1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gui-apps/someblocks/someblocks-1.0.1.ebuild 
b/gui-apps/someblocks/someblocks-1.0.1.ebuild
index 707735f30..11c63b74e 100644
--- a/gui-apps/someblocks/someblocks-1.0.1.ebuild
+++ b/gui-apps/someblocks/someblocks-1.0.1.ebuild
@@ -17,10 +17,15 @@ src_prepare() {
        default
        sed -i -e 's:$(LDFLAGS):$(CPPFLAGS) $(CFLAGS) $(LDFLAGS):' Makefile \
                || die "sed fix failed. Uh-oh..."
-
+       # prevent compilation in install phase
+       sed -i -e "s/install: output/install:/g" Makefile
        restore_config blocks.h
 }
 
+src_compile() {
+       emake output
+}
+
 src_install() {
        emake PREFIX="${ED}/usr" install
 

Reply via email to