summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2007-01-14 23:14:21 +0000
committerMatti Bickel <mabi@gentoo.org>2007-01-14 23:14:21 +0000
commitb3a37f0a334014fce2fca50c765b14dd413d077c (patch)
treeaddba33261dcbd131769b221c60fafc40f568687 /dev-lang/lua
parentFix test failure with ruby enabled. (diff)
downloadgentoo-2-b3a37f0a334014fce2fca50c765b14dd413d077c.tar.gz
gentoo-2-b3a37f0a334014fce2fca50c765b14dd413d077c.tar.bz2
gentoo-2-b3a37f0a334014fce2fca50c765b14dd413d077c.zip
fixing pkg-config data (bug #162036)
(Portage version: 2.1.1-r2)
Diffstat (limited to 'dev-lang/lua')
-rw-r--r--dev-lang/lua/ChangeLog6
-rw-r--r--dev-lang/lua/lua-5.0.3-r1.ebuild4
-rw-r--r--dev-lang/lua/lua-5.1.1-r1.ebuild7
3 files changed, 13 insertions, 4 deletions
diff --git a/dev-lang/lua/ChangeLog b/dev-lang/lua/ChangeLog
index 10b7cf435e3d..7b1fa6a06053 100644
--- a/dev-lang/lua/ChangeLog
+++ b/dev-lang/lua/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/lua
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.59 2007/01/13 14:28:52 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.60 2007/01/14 23:14:21 mabi Exp $
+
+ 14 Jan 2007; Matti Bickel <mabi@gentoo.org> lua-5.0.3-r1.ebuild,
+ lua-5.1.1-r1.ebuild:
+ fixing pkg-config data (bug #162036)
*lua-5.1.1-r1 (10 Jan 2007)
*lua-5.0.3-r1 (10 Jan 2007)
diff --git a/dev-lang/lua/lua-5.0.3-r1.ebuild b/dev-lang/lua/lua-5.0.3-r1.ebuild
index d35fcd1006f1..db6a9f5a0a4b 100644
--- a/dev-lang/lua/lua-5.0.3-r1.ebuild
+++ b/dev-lang/lua/lua-5.0.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.0.3-r1.ebuild,v 1.1 2007/01/13 14:28:52 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.0.3-r1.ebuild,v 1.2 2007/01/14 23:14:21 mabi Exp $
inherit eutils portability
@@ -67,7 +67,7 @@ src_unpack() {
cat >etc/lua-5.0.pc <<EOF
prefix=/usr
exec_prefix=\${prefix}
-includedir=\${prefix}/include
+includedir=\${prefix}/include/lua-5.0
libdir=\${exec_prefix}/$(get_libdir)
interpreter=\${exec_prefix}/bin/lua-5.0
compiler=\${exec_prefix}/bin/luac-5.0
diff --git a/dev-lang/lua/lua-5.1.1-r1.ebuild b/dev-lang/lua/lua-5.1.1-r1.ebuild
index e000b876dcf0..73d30ff3a2e0 100644
--- a/dev-lang/lua/lua-5.1.1-r1.ebuild
+++ b/dev-lang/lua/lua-5.1.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.1.1-r1.ebuild,v 1.1 2007/01/13 14:28:52 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.1.1-r1.ebuild,v 1.2 2007/01/14 23:14:21 mabi Exp $
inherit eutils portability
@@ -26,6 +26,11 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-Makefile.patch
epatch "${FILESDIR}"/${P}-module_paths.patch
+ sed -i etc/lua.pc \
+ -e 's:\(prefix= /usr\)/local:\1:' \
+ -e 's:\(INSTALL_INC= ${prefix}/include\):\1/lua-5.1:' \
+ -e 's:\(includedir=${prefix}/include\):\1/lua-5.1:' \
+ -e 's:\(\-llua\):\1-5.1:'
sed -i -e 's:\(/README\)\("\):\1.gz\2:g' doc/readme.html