summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-07 19:30:03 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-07 19:30:03 +0000
commited5181c23a150a6fd432de1dd73bbf8df6f767e5 (patch)
treec3c989f2641a1f57429fcad83088864c6e903af0 /dev-games
parentApache herd package refresh (Manifest recommit) (diff)
downloadgentoo-2-ed5181c23a150a6fd432de1dd73bbf8df6f767e5.tar.gz
gentoo-2-ed5181c23a150a6fd432de1dd73bbf8df6f767e5.tar.bz2
gentoo-2-ed5181c23a150a6fd432de1dd73bbf8df6f767e5.zip
Since ode only produces a static library atm, force it to be built with -fPIC #77004 by Rick.
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/ode/ChangeLog9
-rw-r--r--dev-games/ode/files/digest-ode-0.5-r2 (renamed from dev-games/ode/files/digest-ode-0.5-r1)0
-rw-r--r--dev-games/ode/ode-0.5-r2.ebuild (renamed from dev-games/ode/ode-0.5-r1.ebuild)17
3 files changed, 17 insertions, 9 deletions
diff --git a/dev-games/ode/ChangeLog b/dev-games/ode/ChangeLog
index 6bb5654be704..36b117154f0c 100644
--- a/dev-games/ode/ChangeLog
+++ b/dev-games/ode/ChangeLog
@@ -1,6 +1,13 @@
# 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.10 2005/01/01 18:02:23 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.11 2005/01/07 19:30:03 vapier Exp $
+
+*ode-0.5-r2 (07 Jan 2005)
+
+ 07 Jan 2005; Mike Frysinger <vapier@gentoo.org> -ode-0.5-r1.ebuild,
+ +ode-0.5-r2.ebuild:
+ Since ode only produces a static library atm, force it to be built with
+ -fPIC #77004 by Rick.
12 Nov 2004; Simon Stelling <blubb@gentoo.org> :
added ~amd64
diff --git a/dev-games/ode/files/digest-ode-0.5-r1 b/dev-games/ode/files/digest-ode-0.5-r2
index 017c61381927..017c61381927 100644
--- a/dev-games/ode/files/digest-ode-0.5-r1
+++ b/dev-games/ode/files/digest-ode-0.5-r2
diff --git a/dev-games/ode/ode-0.5-r1.ebuild b/dev-games/ode/ode-0.5-r2.ebuild
index b55400500527..c62a739a2f27 100644
--- a/dev-games/ode/ode-0.5-r1.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-r1.ebuild,v 1.5 2005/01/01 18:02:23 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.5-r2.ebuild,v 1.1 2005/01/07 19:30:03 vapier Exp $
DESCRIPTION="Open Dynamics Engine SDK"
HOMEPAGE="http://ode.org/"
@@ -18,15 +18,16 @@ DEPEND="virtual/libc
src_unpack() {
unpack ${A}
- echo 'C_FLAGS+=$(E_CFLAGS)' >> "${S}/config/makefile.unix-gcc"
- if use debug; then
- sed -e "s/#BUILD=d/BUILD=d/" \
+ echo 'C_FLAGS+=$(E_CFLAGS) -fPIC' >> "${S}"/config/makefile.unix-gcc
+ if use debug ; then
+ sed -i \
+ -e "s/#BUILD=d/BUILD=d/" \
-e "s/BUILD=r/#BUILD=r/" \
- -i ${S}/config/user-settings
+ "${S}"/config/user-settings
fi
- sed -e "s/#OPCODE_DIRECTORY/OPCODE_DIRECTORY/" -i ${S}/config/user-settings
- sed -e 's/..\/..\/drawstuff\/textures/.\//' -i ${S}/ode/test/*.c*
- sed -e 's/fn.path_to_textures = 0/fn.path_to_textures = ".\/"/' -i ${S}/drawstuff/dstest/dstest.cpp
+ sed -i -e "s/#OPCODE_DIRECTORY/OPCODE_DIRECTORY/" ${S}/config/user-settings
+ sed -i -e 's/..\/..\/drawstuff\/textures/.\//' ${S}/ode/test/*.c*
+ sed -i -e 's/fn.path_to_textures = 0/fn.path_to_textures = ".\/"/' ${S}/drawstuff/dstest/dstest.cpp
}
src_compile() {