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
commit052dcd0e4f8fcb796143df0c7a3b452f5575af13 (patch)
tree661f89643af067de323776ad715ffb29239ed759 /dev-games
parentAdd patch to fix bug #86050. (diff)
downloadgentoo-2-052dcd0e4f8fcb796143df0c7a3b452f5575af13.tar.gz
gentoo-2-052dcd0e4f8fcb796143df0c7a3b452f5575af13.tar.bz2
gentoo-2-052dcd0e4f8fcb796143df0c7a3b452f5575af13.zip
Fixed graphic paths so demos actually run. Re-added debug build.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/ode/ChangeLog5
-rw-r--r--dev-games/ode/Manifest4
-rw-r--r--dev-games/ode/ode-0.5-r2.ebuild11
3 files changed, 13 insertions, 7 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..9320fc09e7ac 100644
--- a/dev-games/ode/Manifest
+++ b/dev-games/ode/Manifest
@@ -1,5 +1,5 @@
MD5 d4315ba10979b6441acb5455fe97dbe4 ChangeLog 2488
MD5 897a7d200c1e7b0159d465d3220c9eff metadata.xml 509
-MD5 c60c988eeb2c4c11828682a7b577c7df ode-0.5-r2.ebuild 1585
-MD5 24a10f16623003a6f4c8df5d8a0c11f5 files/digest-ode-0.5-r2 57
+MD5 b57e2d797db2fbda4c0f125d235001f6 ode-0.5-r2.ebuild 1752
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() {