summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua/squish/squish-9999.ebuild')
-rw-r--r--dev-lua/squish/squish-9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lua/squish/squish-9999.ebuild b/dev-lua/squish/squish-9999.ebuild
index a88866e..c31313e 100644
--- a/dev-lua/squish/squish-9999.ebuild
+++ b/dev-lua/squish/squish-9999.ebuild
@@ -15,12 +15,12 @@ SLOT="0"
KEYWORDS=""
IUSE="luajit"
-RDEPEND="|| ( >=dev-lang/lua-5.1 dev-lang/luajit:2 )"
+RDEPEND="virtual/lua[luajit=]"
DEPEND="${RDEPEND}"
src_prepare() {
use luajit && sed -r \
- -e 's:(env lua):\1jit:' \
+ -e '1s:(env lua):\1jit:' \
-i squish.lua make_squishy
}