From cd17c514cbb676b99d17e747657564936b76e475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Efe=20=C4=B0zbudak?= Date: Thu, 23 Feb 2023 08:07:42 -0500 Subject: [PATCH] gui-apps/someblocks: prevent compiling in src_install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/887715 Signed-off-by: Efe İzbudak --- 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 707735f30e..11c63b74e0 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