summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Bainbridge <chrb@gentoo.org>2005-04-03 16:40:41 +0000
committerChris Bainbridge <chrb@gentoo.org>2005-04-03 16:40:41 +0000
commit0d035a96d4d90a70bf3944d17d092d7e684db1e4 (patch)
tree7bf4a12750d937aa8b4889aba77aed992193315b /dev-games
parentAdd patch to fix bug #86050. (diff)
downloadhistorical-0d035a96d4d90a70bf3944d17d092d7e684db1e4.tar.gz
historical-0d035a96d4d90a70bf3944d17d092d7e684db1e4.tar.bz2
historical-0d035a96d4d90a70bf3944d17d092d7e684db1e4.zip
Fixed graphic paths so demos actually run. Re-added debug build.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/ode/ChangeLog5
-rw-r--r--dev-games/ode/Manifest6
-rw-r--r--dev-games/ode/ode-0.5-r2.ebuild11
3 files changed, 14 insertions, 8 deletions
diff --git a/dev-games/ode/ChangeLog b/dev-games/ode/ChangeLog
index efab770d644a..ed6f96d8d3c2 100644
--- a/dev-games/ode/ChangeLog
+++ b/dev-games/ode/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-games/ode
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.12 2005/01/08 05:53:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.13 2005/04/03 16:40:41 chrb Exp $
+
+ 03 Apr 2005; Chris Bainbridge <chrb@gentoo.org> ode-0.5-r2.ebuild:
+ Fixed graphic paths so demos actually run. Re-added debug build.
08 Jan 2005; Mike Frysinger <vapier@gentoo.org> +files/0.5-PIC.patch,
ode-0.5-r2.ebuild:
diff --git a/dev-games/ode/Manifest b/dev-games/ode/Manifest
index f18fd43f93ad..5a34d40a642c 100644
--- a/dev-games/ode/Manifest
+++ b/dev-games/ode/Manifest
@@ -1,5 +1,5 @@
-MD5 d4315ba10979b6441acb5455fe97dbe4 ChangeLog 2488
+MD5 865fc6ade7fa6aa03562b596ff76b693 ChangeLog 2623
MD5 897a7d200c1e7b0159d465d3220c9eff metadata.xml 509
-MD5 c60c988eeb2c4c11828682a7b577c7df ode-0.5-r2.ebuild 1585
-MD5 24a10f16623003a6f4c8df5d8a0c11f5 files/digest-ode-0.5-r2 57
+MD5 2b2b1fa23951f2eb618766509784ad2f ode-0.5-r2.ebuild 1750
MD5 05d1eafa8377f72052f3e5c7eb6fe88c files/0.5-PIC.patch 516
+MD5 24a10f16623003a6f4c8df5d8a0c11f5 files/digest-ode-0.5-r2 57
diff --git a/dev-games/ode/ode-0.5-r2.ebuild b/dev-games/ode/ode-0.5-r2.ebuild
index c1899b392959..eec3472c28ba 100644
--- a/dev-games/ode/ode-0.5-r2.ebuild
+++ b/dev-games/ode/ode-0.5-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.5-r2.ebuild,v 1.3 2005/01/29 05:12:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.5-r2.ebuild,v 1.4 2005/04/03 16:40:41 chrb Exp $
inherit eutils
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/opende/${P}.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-IUSE="doc"
+IUSE="doc debug"
DEPEND="virtual/libc
virtual/x11
@@ -24,8 +24,11 @@ src_unpack() {
echo 'C_FLAGS+=$(E_CFLAGS) -fPIC' >> config/makefile.unix-gcc
epatch "${FILESDIR}"/${PV}-PIC.patch
sed -i -e "s/#OPCODE_DIRECTORY/OPCODE_DIRECTORY/" config/user-settings
- sed -i -e 's/..\/..\/drawstuff\/textures/.\//' ode/test/*.c*
- sed -i -e 's/fn.path_to_textures = 0/fn.path_to_textures = ".\/"/' drawstuff/dstest/dstest.cpp
+ sed -i -e "s/..\/..\/drawstuff\/textures/\/usr\/share\/${P}\/examples/" ode/test/*.c*
+ sed -i -e "s/fn.path_to_textures = 0/fn.path_to_textures = \"\/usr\/share\/${P}\/examples\"/" drawstuff/dstest/dstest.cpp
+ if use debug; then
+ sed -e "s/#BUILD=d/BUILD=d/" -e "s/BUILD=r/#BUILD=r/" -i ${S}/config/user-settings
+ fi
}
src_compile() {