summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/tolua/tolua-5.0.ebuild')
-rw-r--r--dev-lang/tolua/tolua-5.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-lang/tolua/tolua-5.0.ebuild b/dev-lang/tolua/tolua-5.0.ebuild
index 1f2c85b92608..ecbcede2c02c 100644
--- a/dev-lang/tolua/tolua-5.0.ebuild
+++ b/dev-lang/tolua/tolua-5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.2 2004/03/14 02:40:39 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tolua/tolua-5.0.ebuild,v 1.3 2004/04/12 17:15:43 twp Exp $
DESCRIPTION="a tool that simplifies the integration of C/C++ code with Lua"
HOMEPAGE="http://www.tecgraf.puc-rio.br/~celes/tolua/"
@@ -9,6 +9,7 @@ SRC_URI="ftp://ftp.tecgraf.puc-rio.br/pub/users/celes/tolua/${P}.tar.gz"
KEYWORDS="x86"
LICENSE="as-is"
SLOT="0"
+IUSE=""
DEPEND=">=sys-apps/sed-4"
@@ -19,6 +20,7 @@ src_unpack() {
sed -i \
-e "/^CC=/ s/=.*/=${CC}/" \
-e "/^LUA=/ s:=.*:=/usr:" \
+ -e 's/^\(LIB=.*\)/\1 -ldl/' \
-e "s:-O2:${CFLAGS}:" config || \
die "sed config failed"
sed -i \