summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-03-05 21:54:23 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-03-05 21:54:23 +0000
commitef353e4bf9e64ede5be14fc84b59fdbd813a56a7 (patch)
treeeaae4ec80eeb42c015261e1702fcc2580682acc2 /dev-lang/luajit
parentClean up old revisions. (diff)
downloadgentoo-2-ef353e4bf9e64ede5be14fc84b59fdbd813a56a7.tar.gz
gentoo-2-ef353e4bf9e64ede5be14fc84b59fdbd813a56a7.tar.bz2
gentoo-2-ef353e4bf9e64ede5be14fc84b59fdbd813a56a7.zip
Keyword amd64-linux and x86-linux
(Portage version: 2.2.01.21688-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-lang/luajit')
-rw-r--r--dev-lang/luajit/ChangeLog6
-rw-r--r--dev-lang/luajit/luajit-2.0.0.ebuild10
2 files changed, 11 insertions, 5 deletions
diff --git a/dev-lang/luajit/ChangeLog b/dev-lang/luajit/ChangeLog
index b1c8687d342d..ee24ff920cbc 100644
--- a/dev-lang/luajit/ChangeLog
+++ b/dev-lang/luajit/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/luajit
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/luajit/ChangeLog,v 1.10 2013/02/10 02:45:38 rafaelmartins Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/luajit/ChangeLog,v 1.11 2013/03/05 21:54:23 bicatali Exp $
+
+ 05 Mar 2013; Sébastien Fabbro <bicatali@gentoo.org> luajit-2.0.0.ebuild:
+ Keyword amd64-linux and x86-linux
*luajit-2.0.0 (10 Feb 2013)
@@ -57,4 +60,3 @@
13 Oct 2010; Rafael G. Martins <rafaelmartins@gentoo.org>
+luajit-1.1.6.ebuild, +metadata.xml:
Initial commit. (bugs #313005 and #317707)
-
diff --git a/dev-lang/luajit/luajit-2.0.0.ebuild b/dev-lang/luajit/luajit-2.0.0.ebuild
index 625999009fba..ffe7074bef3b 100644
--- a/dev-lang/luajit/luajit-2.0.0.ebuild
+++ b/dev-lang/luajit/luajit-2.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/luajit/luajit-2.0.0.ebuild,v 1.1 2013/02/10 02:45:38 rafaelmartins Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/luajit/luajit-2.0.0.ebuild,v 1.2 2013/03/05 21:54:23 bicatali Exp $
EAPI=5
@@ -20,7 +20,7 @@ SRC_URI="http://luajit.org/download/${MY_P}.tar.gz
LICENSE="MIT"
# this should probably be pkgmoved to 2.0 for sake of consistency.
SLOT="2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
S="${WORKDIR}/${MY_P}"
@@ -31,6 +31,10 @@ src_prepare(){
fi
epatch "${FILESDIR}"/${MY_P}-gentoo.patch
+ sed -i \
+ -e "s:/usr:${EPREFIX}/usr:g" \
+ etc/luajit.pc Makefile src/luaconf.h src/Makefile || die
+
}
src_compile() {
@@ -58,7 +62,7 @@ src_install(){
LDCONFIG="true" \
LIBDIR="$(get_libdir)"
- pax-mark m "${D}usr/bin/luajit-2.0"
+ pax-mark m "${ED}usr/bin/luajit-2.0"
cd "${S}"/doc
dohtml -r *