summaryrefslogtreecommitdiff
path: root/games-action/snipes/snipes-1.0.4-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
commitc719fdcee603a5a706a45d10cb598762d56a727d (patch)
tree620cbf137661399a3fb1eff92914204f9a970713 /games-action/snipes/snipes-1.0.4-r1.ebuild
parentcc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff)
gentoo resync : 25.09.2021
Diffstat (limited to 'games-action/snipes/snipes-1.0.4-r1.ebuild')
-rw-r--r--games-action/snipes/snipes-1.0.4-r1.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/games-action/snipes/snipes-1.0.4-r1.ebuild b/games-action/snipes/snipes-1.0.4-r1.ebuild
index 6b6beac3a3a4..5a2429cee6aa 100644
--- a/games-action/snipes/snipes-1.0.4-r1.ebuild
+++ b/games-action/snipes/snipes-1.0.4-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit desktop flag-o-matic toolchain-funcs
+inherit desktop flag-o-matic multilib toolchain-funcs
DESCRIPTION="2D scrolling shooter, resembles the old DOS game of same name"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
@@ -23,16 +23,13 @@ PATCHES=(
src_compile() {
tc-export CC LD
- # lld requires arch flags to be passed even if native (bug #730852)
- local archflags=
- tc-ld-is-lld && eval archflags=\${LDFLAGS_${ARCH}}
-
- LDLIBS=-lm emake RAW_LDFLAGS="${archflags} $(raw-ldflags)"
+ # lld requires abi flags to be passed even if native (bug #730852)
+ LDLIBS=-lm emake RAW_LDFLAGS="$(get_abi_LDFLAGS) $(raw-ldflags)"
}
src_install() {
- dobin snipes
- doman snipes.6
+ dobin ${PN}
+ doman ${PN}.6
einstalldocs
doicon ${PN}.png