mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 11:33:15 -04:00
gui-apps/someblocks: fix build with GCC 15
Closes: https://bugs.gentoo.org/945237 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit savedconfig git-r3
|
||||
|
||||
@@ -16,12 +16,15 @@ RDEPEND="${DEPEND}"
|
||||
|
||||
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 || die
|
||||
restore_config blocks.h
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${ED}/usr" install
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
|
||||
einstalldocs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user