mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-engines/frotz: pass same args in src_install
Also, filter LTO while here, as I get lto-type-mismatch errors. Closes: https://bugs.gentoo.org/951132 Thanks-to: Mark Davies Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Interpreter for Z-code based text games"
|
||||
HOMEPAGE="https://661.org/proj/if/frotz/"
|
||||
@@ -44,6 +44,8 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
filter-lto
|
||||
|
||||
emake \
|
||||
dumb \
|
||||
$(use ncurses && echo ncurses) \
|
||||
@@ -64,7 +66,15 @@ src_install() {
|
||||
install_dumb \
|
||||
$(use ncurses && echo install) \
|
||||
$(use sdl && echo install_sdl) \
|
||||
AR="$(tc-getAR)" \
|
||||
CC="$(tc-getCC)" \
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
|
||||
RANLIB="$(tc-getRANLIB)" \
|
||||
CURSES=$(usex unicode ncursesw ncurses) \
|
||||
USE_UTF8=$(usex unicode yes "") \
|
||||
SOUND_TYPE=$(usex sound ao none) \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
SYSCONFDIR="${EPREFIX}/etc" \
|
||||
DESTDIR="${D}"
|
||||
|
||||
dodoc \
|
||||
Reference in New Issue
Block a user