summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-10-01 05:11:31 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-10-01 05:11:31 +0000
commit9c395d930e3a8d3e0481891d80273b8f5c9ee0af (patch)
treee827c35ca644291d651d91eb71760d2b507fa376 /games-arcade
parentRespect LDFLAGS. Bug #337347 (diff)
downloadhistorical-9c395d930e3a8d3e0481891d80273b8f5c9ee0af.tar.gz
historical-9c395d930e3a8d3e0481891d80273b8f5c9ee0af.tar.bz2
historical-9c395d930e3a8d3e0481891d80273b8f5c9ee0af.zip
Respect LDFLAGS. Bug #337332
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/xjump/ChangeLog8
-rw-r--r--games-arcade/xjump/Manifest5
-rw-r--r--games-arcade/xjump/files/xjump-2.7.5-ldflags.patch11
-rw-r--r--games-arcade/xjump/xjump-2.7.5.ebuild24
4 files changed, 29 insertions, 19 deletions
diff --git a/games-arcade/xjump/ChangeLog b/games-arcade/xjump/ChangeLog
index 11f3ac0efde0..86e7d253a337 100644
--- a/games-arcade/xjump/ChangeLog
+++ b/games-arcade/xjump/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/xjump
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xjump/ChangeLog,v 1.9 2007/04/24 15:22:49 drizzt Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xjump/ChangeLog,v 1.10 2010/10/01 05:11:31 tupone Exp $
+
+ 01 Oct 2010; Tupone Alfredo <tupone@gentoo.org> xjump-2.7.5.ebuild,
+ +files/xjump-2.7.5-ldflags.patch:
+ Respect LDFLAGS. Bug #337332 by flameeyes@gentoo.org
24 Apr 2007; Timothy Redaelli <drizzt@gentoo.org> xjump-2.7.5.ebuild:
Add ~x86-fbsd keyword.
diff --git a/games-arcade/xjump/Manifest b/games-arcade/xjump/Manifest
index cab9039d48df..7223756df16a 100644
--- a/games-arcade/xjump/Manifest
+++ b/games-arcade/xjump/Manifest
@@ -1,5 +1,6 @@
+AUX xjump-2.7.5-ldflags.patch 407 RMD160 baf1f5223b79d8a62b768f40c85c1b7291a91e9d SHA1 f3f594bd9f4665195861e2f98bc150b0a4818680 SHA256 6d64c61ad457bbf3a96f2879a0be1473441f6dd3ba20498a840cb561b02fa642
DIST xjump_2.7.5-1.2.diff.gz 5238 RMD160 17c16a6bf5f1bfeaa48bd77c32ead144bb59c854 SHA1 cdc8def636969720828cb7eaa07f613dbb63fc70 SHA256 4e87afd825db71932779b3598ef73f8b10e29b621132396065565560bbc84cfc
DIST xjump_2.7.5.orig.tar.gz 15940 RMD160 4f801e6306aafff9b56da86cd3f7ecc7d1a5e0e7 SHA1 7cf7f1269ef2cd0640575f924f6e7a39668939f2 SHA256 d96605e3aa6ca7751161d9bd19d53bb9d11fdcaf3901a14b4e2dce9b129f09b4
-EBUILD xjump-2.7.5.ebuild 1573 RMD160 c4c6bc6620d4fb9f862f65308205d9f3db8e00f7 SHA1 6efb1e58c4391cab9473305a4c04e465743e79bb SHA256 efcc96ef64b981873793c6965668780d47f0825625e1e808299911829a48051b
-MISC ChangeLog 1254 RMD160 f24f5824fbd58103684280902294ab43d6e7e8df SHA1 536dae21b5e4ccf96aa84d7672c9c5e87f4f73bd SHA256 23daa98ce8dc5b3c3e5c85293dcf4588acf358914f98673334e477315311ee02
+EBUILD xjump-2.7.5.ebuild 1505 RMD160 0d304086870ecf5d6ed83551c6d6f8a174e01429 SHA1 34c17698a3fab69698543da16c5e61fb5aa17272 SHA256 af1a8108d3cab45e180324aa1f634938ded72f832db853912872aa5b3b6d2d74
+MISC ChangeLog 1417 RMD160 7278a335c0ff11c2c733f6c6c9198c4550c979f1 SHA1 00dd8b867aee9706270bbe2659c8e44dc634e5da SHA256 2c7a1e24b4123dddc17c29c15e5ee6e2b40897ec94bc7ff014ffb7c278c28db5
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-arcade/xjump/files/xjump-2.7.5-ldflags.patch b/games-arcade/xjump/files/xjump-2.7.5-ldflags.patch
new file mode 100644
index 000000000000..a30736811318
--- /dev/null
+++ b/games-arcade/xjump/files/xjump-2.7.5-ldflags.patch
@@ -0,0 +1,11 @@
+--- Makefile.old 2010-10-01 07:05:03.000000000 +0200
++++ Makefile 2010-10-01 07:05:39.000000000 +0200
+@@ -28,7 +28,7 @@
+ ##########################################################
+
+ xjump : main.o game.o key.o misc.o record.o resource.o
+- $(CC) $(CFLAGS) -o xjump \
++ $(CC) $(LDFLAGS) $(CFLAGS) -o xjump \
+ main.o game.o key.o misc.o record.o resource.o\
+ -lXaw -lXmu -lXt -lXpm -lXext -lX11 $(LDIR)
+
diff --git a/games-arcade/xjump/xjump-2.7.5.ebuild b/games-arcade/xjump/xjump-2.7.5.ebuild
index e8d32c9cea10..a9d99562ef1e 100644
--- a/games-arcade/xjump/xjump-2.7.5.ebuild
+++ b/games-arcade/xjump/xjump-2.7.5.ebuild
@@ -1,6 +1,7 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xjump/xjump-2.7.5.ebuild,v 1.10 2007/04/24 15:22:49 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xjump/xjump-2.7.5.ebuild,v 1.11 2010/10/01 05:11:31 tupone Exp $
+EAPI="2"
inherit eutils games
@@ -15,31 +16,24 @@ SLOT="0"
KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
IUSE=""
-DEPEND="x11-libs/libX11
- x11-libs/libXaw
- x11-libs/libXpm
- x11-libs/libXt
- x11-proto/xproto"
-
RDEPEND="x11-libs/libX11
x11-libs/libXaw
- x11-libs/libXext
- x11-libs/libXmu
x11-libs/libXpm
x11-libs/libXt"
-S=${WORKDIR}/${P}.orig
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+S=${WORKDIR}/${P}.orig
+src_prepare() {
# Where we will keep the highscore file:
HISCORE_FILENAME=xjump.hiscores
HISCORE_FILE="${GAMES_STATEDIR}/${HISCORE_FILENAME}"
epatch "${WORKDIR}/${PN}_${PV}-${DEBIAN_PATCH}.diff"
- epatch "${S}/debian/patches/"*.dpatch
+ epatch "${S}/debian/patches/"*.dpatch \
+ "${FILESDIR}"/${P}-ldflags.patch
# set up where we will keep the highscores file:
sed -i \