diff options
author | Ned Ludd <solar@gentoo.org> | 2008-09-13 20:24:39 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2008-09-13 20:24:39 +0000 |
commit | e527bf99b179e25671561219b07e815363651722 (patch) | |
tree | 83f0f73e8ccd7cfae60f397f3dced9a1dd6f0b6f /dev-lang/lua | |
parent | Version bump. (diff) | |
download | gentoo-2-e527bf99b179e25671561219b07e815363651722.tar.gz gentoo-2-e527bf99b179e25671561219b07e815363651722.tar.bz2 gentoo-2-e527bf99b179e25671561219b07e815363651722.zip |
- make lua partially cross compile aware. More work might be needed
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-lang/lua')
-rw-r--r-- | dev-lang/lua/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/lua/lua-5.1.3-r4.ebuild | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/dev-lang/lua/ChangeLog b/dev-lang/lua/ChangeLog index 444d5834793b..0b2b96673a87 100644 --- a/dev-lang/lua/ChangeLog +++ b/dev-lang/lua/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/lua # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.116 2008/08/23 04:38:20 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.117 2008/09/13 20:24:39 solar Exp $ + + 13 Sep 2008; <solar@gentoo.org> lua-5.1.3-r4.ebuild: + - make lua partially cross compile aware. More work might be needed 23 Aug 2008; Jeroen Roovers <jer@gentoo.org> metadata.xml, lua-5.1.3-r3.ebuild: diff --git a/dev-lang/lua/lua-5.1.3-r4.ebuild b/dev-lang/lua/lua-5.1.3-r4.ebuild index d2de956fb0fd..0249148bab2a 100644 --- a/dev-lang/lua/lua-5.1.3-r4.ebuild +++ b/dev-lang/lua/lua-5.1.3-r4.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.1.3-r4.ebuild,v 1.3 2008/08/14 07:38:36 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.1.3-r4.ebuild,v 1.4 2008/09/13 20:24:39 solar Exp $ EAPI="1" -inherit eutils portability versionator +inherit eutils portability versionator toolchain-funcs DESCRIPTION="A powerful light-weight programming language designed for extending applications" HOMEPAGE="http://www.lua.org/" @@ -56,6 +56,7 @@ src_unpack() { } src_compile() { + tc-export CC myflags= # what to link to liblua liblibs="-lm" @@ -69,8 +70,8 @@ src_compile() { fi cd src - emake CFLAGS="${mycflags} ${CFLAGS}" \ - RPATH="/usr/$(get_libdir)/" \ + emake CC="${CC}" CFLAGS="${mycflags} ${CFLAGS}" \ + RPATH="${ROOT}/usr/$(get_libdir)/" \ LUA_LIBS="${mylibs}" \ LIB_LIBS="${liblibs}" \ V=${PV} \ |