public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-action/snipes/
@ 2018-08-15 10:33 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2018-08-15 10:33 UTC (permalink / raw
  To: gentoo-commits

commit:     8c579d9ddd44581580b3490bfc4ed59d8a99d711
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Thu Aug  2 23:00:45 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 15 10:33:02 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c579d9d

games-action/snipes: eutils->desktop

Only has eutils for the implicit desktop inheritance for doicon and
make_desktop_entry.

Package-Manager: Portage-2.3.44, Repoman-2.3.10

 games-action/snipes/snipes-1.0.4-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/games-action/snipes/snipes-1.0.4-r1.ebuild b/games-action/snipes/snipes-1.0.4-r1.ebuild
index 9d8e9a36c48..666172514c6 100644
--- a/games-action/snipes/snipes-1.0.4-r1.ebuild
+++ b/games-action/snipes/snipes-1.0.4-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit toolchain-funcs eutils
+
+inherit desktop toolchain-funcs
 
 DESCRIPTION="2D scrolling shooter, resembles the old DOS game of same name"
 HOMEPAGE="https://cyp.github.com/snipes/"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-action/snipes/
@ 2021-09-21  9:46 Ionen Wolkens
  0 siblings, 0 replies; 2+ messages in thread
From: Ionen Wolkens @ 2021-09-21  9:46 UTC (permalink / raw
  To: gentoo-commits

commit:     98087d8c21ab5e603fabfe4c8fed9a111f2bbced
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 21 09:33:36 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Sep 21 09:44:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98087d8c

games-action/snipes: use multilib eclass

Hadn't really thought of it for when only using native abi.

Also simplify while here (harmless to pass to ld.bfd too)
and be consistent with ${PN} use.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-action/snipes/snipes-1.0.4-r1.ebuild | 13 +++++--------
 1 file 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 6b6beac3a3a..5a2429cee6a 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-21  9:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-15 10:33 [gentoo-commits] repo/gentoo:master commit in: games-action/snipes/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2021-09-21  9:46 Ionen Wolkens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox