summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-06-16 06:50:46 +0000
committerTim Harder <radhermit@gentoo.org>2014-06-16 06:50:46 +0000
commitd56e75a00708f2e107bc2774988b5f141fec6898 (patch)
tree315c452051d2459bb2d0815293ae6854894d605f /dev-lua
parentVersion bump. (diff)
downloadgentoo-2-d56e75a00708f2e107bc2774988b5f141fec6898.tar.gz
gentoo-2-d56e75a00708f2e107bc2774988b5f141fec6898.tar.bz2
gentoo-2-d56e75a00708f2e107bc2774988b5f141fec6898.zip
Use pkgconfig to determine lua C modules directory (bug #503990).
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/lpeg/ChangeLog5
-rw-r--r--dev-lua/lpeg/lpeg-0.12.ebuild7
2 files changed, 8 insertions, 4 deletions
diff --git a/dev-lua/lpeg/ChangeLog b/dev-lua/lpeg/ChangeLog
index a6e7546c7303..2fa8d27c0b54 100644
--- a/dev-lua/lpeg/ChangeLog
+++ b/dev-lua/lpeg/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lua/lpeg
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/lpeg/ChangeLog,v 1.5 2014/03/04 20:34:04 vincent Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/lpeg/ChangeLog,v 1.6 2014/06/16 06:50:46 radhermit Exp $
+
+ 16 Jun 2014; Tim Harder <radhermit@gentoo.org> lpeg-0.12.ebuild:
+ Use pkgconfig to determine lua C modules directory (bug #503990).
04 Mar 2014; Vicente Olivert Riera <vincent@gentoo.org> lpeg-0.12.ebuild:
Add ~mips keyword.
diff --git a/dev-lua/lpeg/lpeg-0.12.ebuild b/dev-lua/lpeg/lpeg-0.12.ebuild
index 3bb3e0b8694d..1e696da91fac 100644
--- a/dev-lua/lpeg/lpeg-0.12.ebuild
+++ b/dev-lua/lpeg/lpeg-0.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/lpeg/lpeg-0.12.ebuild,v 1.5 2014/03/04 20:34:04 vincent Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/lpeg/lpeg-0.12.ebuild,v 1.6 2014/06/16 06:50:46 radhermit Exp $
EAPI=5
@@ -16,7 +16,8 @@ KEYWORDS="amd64 ~arm ~hppa ~mips x86"
IUSE="debug doc"
RDEPEND=">=dev-lang/lua-5.1"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
@@ -32,7 +33,7 @@ src_test() {
}
src_install() {
- exeinto /usr/$(get_libdir)/lua/5.1
+ exeinto "$(pkg-config --variable INSTALL_CMOD lua)"
doexe lpeg.so
dodoc HISTORY