radhermit    14/06/16 06:50:46

  Modified:             ChangeLog lpeg-0.12.ebuild
  Log:
  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)

Revision  Changes    Path
1.6                  dev-lua/lpeg/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lpeg/ChangeLog?rev=1.6&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lpeg/ChangeLog?rev=1.6&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lpeg/ChangeLog?r1=1.5&r2=1.6

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lua/lpeg/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChangeLog   4 Mar 2014 20:34:04 -0000       1.5
+++ ChangeLog   16 Jun 2014 06:50:46 -0000      1.6
@@ -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 <[email protected]> lpeg-0.12.ebuild:
+  Use pkgconfig to determine lua C modules directory (bug #503990).
 
   04 Mar 2014; Vicente Olivert Riera <[email protected]> lpeg-0.12.ebuild:
   Add ~mips keyword.



1.6                  dev-lua/lpeg/lpeg-0.12.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lpeg/lpeg-0.12.ebuild?rev=1.6&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lpeg/lpeg-0.12.ebuild?rev=1.6&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lpeg/lpeg-0.12.ebuild?r1=1.5&r2=1.6

Index: lpeg-0.12.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lua/lpeg/lpeg-0.12.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- lpeg-0.12.ebuild    4 Mar 2014 20:34:04 -0000       1.5
+++ lpeg-0.12.ebuild    16 Jun 2014 06:50:46 -0000      1.6
@@ -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 @@
 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_install() {
-       exeinto /usr/$(get_libdir)/lua/5.1
+       exeinto "$(pkg-config --variable INSTALL_CMOD lua)"
        doexe lpeg.so
 
        dodoc HISTORY




Reply via email to