mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user