gui-apps/someblocks: prevent compiling in src_install

Closes: https://bugs.gentoo.org/887715
Signed-off-by: Efe İzbudak <efe.izbudak@metu.edu.tr>
This commit is contained in:
Efe İzbudak
2023-02-23 08:07:42 -05:00
parent fadd465bde
commit cd17c514cb

View File

@@ -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