summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom William Payne <twp@gentoo.org>2005-05-18 11:41:32 +0000
committerTom William Payne <twp@gentoo.org>2005-05-18 11:41:32 +0000
commitccfeb5b1296b2a079827faa9d2020c2f00b2c0c9 (patch)
treed699ee07749707451221be7e89ac2e13dede191e /dev-lang/tolua
parentfixes 93029, versioned jar, thanks too Josh Nichols <nichoj@alum.rpi.edu> (diff)
downloadgentoo-2-ccfeb5b1296b2a079827faa9d2020c2f00b2c0c9.tar.gz
gentoo-2-ccfeb5b1296b2a079827faa9d2020c2f00b2c0c9.tar.bz2
gentoo-2-ccfeb5b1296b2a079827faa9d2020c2f00b2c0c9.zip
Use toolchain-funcs eclass. Bug # 92745.
Diffstat (limited to 'dev-lang/tolua')
-rw-r--r--dev-lang/tolua/ChangeLog7
-rw-r--r--dev-lang/tolua/tolua-5.0.ebuild8
2 files changed, 9 insertions, 6 deletions
diff --git a/dev-lang/tolua/ChangeLog b/dev-lang/tolua/ChangeLog
index b2969f4a49e0..5aca55274adf 100644
--- a/dev-lang/tolua/ChangeLog
+++ b/dev-lang/tolua/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/tolua
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tolua/ChangeLog,v 1.4 2004/06/24 22:58:36 agriffis Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tolua/ChangeLog,v 1.5 2005/05/18 11:41:32 twp Exp $
+
+ 18 May 2005; Tom Payne <twp@gentoo.org> tolua-5.0.ebuild:
+ Use toolchain-funcs eclass. Bug # 92745.
18 Apr 2004; Jason Wever <weeve@gentoo.org> tolua-5.0.ebuild:
Added ~sparc keyword.
diff --git a/dev-lang/tolua/tolua-5.0.ebuild b/dev-lang/tolua/tolua-5.0.ebuild
index f7f8db7c98f6..ffa0618ad78b 100644
--- a/dev-lang/tolua/tolua-5.0.ebuild
+++ b/dev-lang/tolua/tolua-5.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tolua/tolua-5.0.ebuild,v 1.6 2004/06/24 22:58:36 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tolua/tolua-5.0.ebuild,v 1.7 2005/05/18 11:41:32 twp Exp $
-inherit gcc
+inherit toolchain-funcs
DESCRIPTION="a tool that simplifies the integration of C/C++ code with Lua"
HOMEPAGE="http://www.tecgraf.puc-rio.br/~celes/tolua/"
@@ -20,7 +20,7 @@ src_unpack() {
cd ${S}
sed -i \
- -e "/^CC=/ s/=.*/=$(gcc-getCC)/" \
+ -e "/^CC=/ s/=.*/=$(tc-getCC)/" \
-e "/^LUA=/ s:=.*:=/usr:" \
-e 's/^\(LIB=.*\)/\1 -ldl/' \
-e "s:-O2:${CFLAGS}:" config || \