summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-29 08:24:46 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-29 08:24:46 +0000
commit87d3dbe71ada20ccf8401326d0a85460c3e873ca (patch)
tree15b1c0c836488d6b6283a2fbd3111e2cb264d561 /games-util/joystick
parentEAPI=2; add use-based dep for qt (bug #247344) (diff)
downloadhistorical-87d3dbe71ada20ccf8401326d0a85460c3e873ca.tar.gz
historical-87d3dbe71ada20ccf8401326d0a85460c3e873ca.tar.bz2
historical-87d3dbe71ada20ccf8401326d0a85460c3e873ca.zip
EAPI=2; respect CC
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.28.1 i686
Diffstat (limited to 'games-util/joystick')
-rw-r--r--games-util/joystick/ChangeLog8
-rw-r--r--games-util/joystick/Manifest4
-rw-r--r--games-util/joystick/joystick-20060731.ebuild16
3 files changed, 18 insertions, 10 deletions
diff --git a/games-util/joystick/ChangeLog b/games-util/joystick/ChangeLog
index 141bb1698d52..8cc6c5caa6b7 100644
--- a/games-util/joystick/ChangeLog
+++ b/games-util/joystick/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-util/joystick
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/joystick/ChangeLog,v 1.5 2006/10/10 04:20:39 dberkholz Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/joystick/ChangeLog,v 1.6 2009/01/29 08:24:46 mr_bones_ Exp $
+
+ 29 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ joystick-20060731.ebuild:
+ EAPI=2; respect CC
10 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>;
joystick-20060731.ebuild:
diff --git a/games-util/joystick/Manifest b/games-util/joystick/Manifest
index de4de5ac34f3..612b9d1d10d3 100644
--- a/games-util/joystick/Manifest
+++ b/games-util/joystick/Manifest
@@ -1,6 +1,6 @@
AUX joystick-MCS-defines.patch 575 RMD160 1c3ee34bc75645dff552e0b22a8515e4b3bb3dbe SHA1 81d0fa629cc7c11e7336fc3b610c296418fbd777 SHA256 fc58bba55c2b158aa5615599c6433989df2d09204d1d2717728f50489fac0b61
AUX joystick-jstest-segv.patch 1561 RMD160 16585232d1edf36e492dea560a916e8a63e2567b SHA1 f59b280ad68880a336e6f86cedda6962a0a3c4ee SHA256 d0caec60e34eb2b60ae621ddaf3d5aeb6f0ca7efbcd10d0727c39a79153c873a
DIST joystick-20060731.tar.bz2 27411 RMD160 fea5a38160bb578c7d0ab380b7d5f7ceba490ca4 SHA1 9846e9750058728b75f5db9b4496af4c72dfb016 SHA256 17aa3ca45f6bbd2004d0cede4a0f1c32b4cabb946628a85602d89c45d874006b
-EBUILD joystick-20060731.ebuild 875 RMD160 7fa7f403d85888f558809b6d9909c994ca0075cc SHA1 ad250f313f4698bee795d058fed25e959b0e5170 SHA256 58e9271df2622ffedf86958f9767d2cf42d1c033b95b31894a2ef605f4f98616
-MISC ChangeLog 965 RMD160 f45451f805f59d3404f77c1a38f11bf2a8216d7a SHA1 a1939a45ba6bdb7de681fb8e25788473e55c0182 SHA256 7c22011be6ba3618d549105b2130ecb250879dab37abd4a58d82acd640adb172
+EBUILD joystick-20060731.ebuild 950 RMD160 b2ef67d482a5af2e037086bf190cf061cbe18469 SHA1 748f037fc95f78e1bf4623e09081287f383bb277 SHA256 1b18e1387c8f01fd2c844d6ddf1dfe200e7c93d56a1a014f4c8a2113bb6dfea7
+MISC ChangeLog 1070 RMD160 174b4a839989faeb72f6c7b855d068073ac8c538 SHA1 0b7dc57a736c0d1700db259407d4812e9d2e8f8c SHA256 044b7e726d008a7fccbc812297cf1f5a92d05821e1a1c81c60719ade64899d4f
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-util/joystick/joystick-20060731.ebuild b/games-util/joystick/joystick-20060731.ebuild
index f67521de7d00..140b4d30bb17 100644
--- a/games-util/joystick/joystick-20060731.ebuild
+++ b/games-util/joystick/joystick-20060731.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/joystick/joystick-20060731.ebuild,v 1.3 2007/04/19 22:32:10 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-util/joystick/joystick-20060731.ebuild,v 1.4 2009/01/29 08:24:46 mr_bones_ Exp $
-inherit eutils
+EAPI=2
+inherit eutils toolchain-funcs
DESCRIPTION="joystick testing utilities"
HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~vojtech/input/"
@@ -17,16 +18,19 @@ DEPEND="sdl? ( media-libs/libsdl )"
S=${WORKDIR}/utils
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch \
"${FILESDIR}"/joystick-MCS-defines.patch \
"${FILESDIR}"/joystick-jstest-segv.patch
+ sed -i \
+ -e '/^CC/d' \
+ Makefile \
+ || die 'sed failed'
}
src_compile() {
local SDL
+ tc-export CC
use sdl && SDL=1 || SDL=0
emake SDL=${SDL} || die "emake failed"
emake inputattach || die "inputattach failed"