summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-09-11 19:22:32 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-09-11 19:22:32 +0000
commit139822ff72e50e192db811973dbcfd69622d4071 (patch)
tree664a60f218e294a3e76af2672f51e5286040d7fd /dev-lua/luasocket
parentNMU: New snapshot for net-im/prosody-0.9. (diff)
downloadgentoo-2-139822ff72e50e192db811973dbcfd69622d4071.tar.gz
gentoo-2-139822ff72e50e192db811973dbcfd69622d4071.tar.bz2
gentoo-2-139822ff72e50e192db811973dbcfd69622d4071.zip
Drop hardcoded lua version.
(Portage version: 2.2.2/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-lua/luasocket')
-rw-r--r--dev-lua/luasocket/ChangeLog6
-rw-r--r--dev-lua/luasocket/luasocket-3.0_rc1.ebuild7
2 files changed, 9 insertions, 4 deletions
diff --git a/dev-lua/luasocket/ChangeLog b/dev-lua/luasocket/ChangeLog
index 9f6e4bf0ffb6..cbaceca156ac 100644
--- a/dev-lua/luasocket/ChangeLog
+++ b/dev-lua/luasocket/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lua/luasocket
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasocket/ChangeLog,v 1.9 2013/09/11 18:49:05 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasocket/ChangeLog,v 1.10 2013/09/11 19:22:32 mrueg Exp $
+
+ 11 Sep 2013; Manuel Rüger <mrueg@gentoo.org> luasocket-2.0.2.ebuild,
+ luasocket-3.0_rc1.ebuild:
+ Drop hardcoded lua version.
11 Sep 2013; Manuel Rüger <mrueg@gentoo.org> luasocket-2.0.2.ebuild,
luasocket-3.0_rc1.ebuild:
diff --git a/dev-lua/luasocket/luasocket-3.0_rc1.ebuild b/dev-lua/luasocket/luasocket-3.0_rc1.ebuild
index c35f97ee4820..080a1558e59d 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1.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-lua/luasocket/luasocket-3.0_rc1.ebuild,v 1.2 2013/09/11 18:49:05 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasocket/luasocket-3.0_rc1.ebuild,v 1.3 2013/09/11 19:22:32 mrueg Exp $
EAPI=5
@@ -16,7 +16,8 @@ KEYWORDS="~amd64 ~arm ~x86"
IUSE="debug"
RDEPEND=">=dev-lang/lua-5.1[deprecated]"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
S=${WORKDIR}/${PN}-${PV/_/-}
@@ -33,7 +34,7 @@ src_install() {
emake \
DESTDIR="${D}" \
LUAPREFIX_linux=/usr \
- LUAV=5.1 \
+ LUAV=$(pkg-config --variable V lua) \
CDIR_linux=$(get_libdir)/lua/${LUAV} \
install
dodoc NEW README