summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-08-06 16:42:10 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-08-06 16:42:10 +0000
commit28c38bbc03cfd157b2af2bcc93c1103d2dc48a21 (patch)
tree5ab3740caefe277d2a72733bb49278020d3c47e7 /games-arcade
parentinitial commit based on ebuild from Alexander Berntsen (diff)
downloadhistorical-28c38bbc03cfd157b2af2bcc93c1103d2dc48a21.tar.gz
historical-28c38bbc03cfd157b2af2bcc93c1103d2dc48a21.tar.bz2
historical-28c38bbc03cfd157b2af2bcc93c1103d2dc48a21.zip
respect flags with patch from Julian Ospald (bug #430020)
Package-Manager: portage-2.1.10.65/cvs/Linux x86_64
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/xscavenger/ChangeLog7
-rw-r--r--games-arcade/xscavenger/xscavenger-1.4.4.ebuild16
2 files changed, 15 insertions, 8 deletions
diff --git a/games-arcade/xscavenger/ChangeLog b/games-arcade/xscavenger/ChangeLog
index a684ea201672..f93e3ac84c77 100644
--- a/games-arcade/xscavenger/ChangeLog
+++ b/games-arcade/xscavenger/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/xscavenger
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xscavenger/ChangeLog,v 1.7 2010/08/30 11:58:54 tupone Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xscavenger/ChangeLog,v 1.8 2012/08/06 16:42:10 mr_bones_ Exp $
+
+ 06 Aug 2012; Michael Sterrett <mr_bones_@gentoo.org> xscavenger-1.4.4.ebuild:
+ respect flags with patch from Julian Ospald (bug #430020)
30 Aug 2010; Alfredo Tupone <tupone@gentoo.org> xscavenger-1.4.4.ebuild:
Respecting LDFLAGS. Bug #335155 by flameeyes@gentoo.org
diff --git a/games-arcade/xscavenger/xscavenger-1.4.4.ebuild b/games-arcade/xscavenger/xscavenger-1.4.4.ebuild
index 91e0d63ec6d4..341b3e7c362c 100644
--- a/games-arcade/xscavenger/xscavenger-1.4.4.ebuild
+++ b/games-arcade/xscavenger/xscavenger-1.4.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xscavenger/xscavenger-1.4.4.ebuild,v 1.8 2010/08/30 14:42:08 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xscavenger/xscavenger-1.4.4.ebuild,v 1.9 2012/08/06 16:42:10 mr_bones_ Exp $
EAPI=2
-inherit eutils games
+inherit eutils toolchain-funcs games
DESCRIPTION="Lode-Runner-like arcade game"
HOMEPAGE="http://www.xdr.com/dash/scavenger.html"
@@ -26,15 +26,19 @@ src_prepare() {
-e "s:GENTOO_DATADIR:${GAMES_DATADIR}:" \
-e "s:GENTOO_BINDIR:${GAMES_BINDIR}:" \
Imakefile \
- || die "sed src/names.h failed"
+ || die
}
src_configure() {
- xmkmf || die "xmkmf failed"
+ xmkmf || die
}
src_compile() {
- emake EXTRA_LDOPTIONS="${LDFLAGS}" || die "emake failed"
+ emake \
+ CC="$(tc-getCC)" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" \
+ || die
}
src_install() {