public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/lua:master commit in: dev-lua/cosmo/
@ 2013-05-12 13:47 Vadim A. Misbakh-Soloviov
  0 siblings, 0 replies; only message in thread
From: Vadim A. Misbakh-Soloviov @ 2013-05-12 13:47 UTC (permalink / raw
  To: gentoo-commits

commit:     56bd64cea86bef653439aa50fd9fa412b7f1f366
Author:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
AuthorDate: Sun May 12 13:47:42 2013 +0000
Commit:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Sun May 12 13:47:42 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/lua.git;a=commit;h=56bd64ce

[dev-lua/cosmo] luajit support

Signed-off-by: Vadim A. Misbakh-Soloviov <mva <AT> mva.name>

---
 dev-lua/cosmo/cosmo-9999.ebuild |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-lua/cosmo/cosmo-9999.ebuild b/dev-lua/cosmo/cosmo-9999.ebuild
index 0d0b2d0..2a7fb2d 100644
--- a/dev-lua/cosmo/cosmo-9999.ebuild
+++ b/dev-lua/cosmo/cosmo-9999.ebuild
@@ -15,14 +15,15 @@ EGIT_REPO_URI="git://github.com/msva/cosmo.git https://github.com/msva/cosmo.git
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS=""
-IUSE="doc"
+IUSE="doc luajit"
 
 RDEPEND=" || ( >=dev-lang/lua-5.1 dev-lang/luajit:2 )"
 DEPEND="${RDEPEND}"
 
 src_configure() {
-	LUA="lua";
-	./configure "${LUA}"
+	local lua=lua;
+	use luajit && lua=luajit;
+	./configure "${lua}"
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-12 13:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-12 13:47 [gentoo-commits] proj/lua:master commit in: dev-lua/cosmo/ Vadim A. Misbakh-Soloviov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox