[oe-commits] Khem Raj : luajit_2.0.0.bb: Fix regexpt to change hardcodes path to fix rebuilds
git at git.openembedded.org
git at git.openembedded.org
Tue Jan 22 12:24:23 UTC 2013
Module: meta-openembedded.git
Branch: master
Commit: f7f166542cc3a3f4ae24d5f6e0bd2efbf00a3a7c
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=f7f166542cc3a3f4ae24d5f6e0bd2efbf00a3a7c
Author: Khem Raj <raj.khem at gmail.com>
Date: Fri Jan 18 18:45:54 2013 +0000
luajit_2.0.0.bb: Fix regexpt to change hardcodes path to fix rebuilds
when rebuilding we were running into issues where /usr/lib64 was
being made /usr/lib6464 and install was failing. Now we check if /lib
is at the end of line then only we replace it.
Fixes the reinstall issue
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb b/meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb
index ac769cf..70cefa8 100644
--- a/meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb
+++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=9511885992e4900014e3b13ca6372b7d"
HOMEPAGE = "http://luajit.org"
DEPENDS += "lua5.1"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \
file://disable_lj_vm_foldarith_for_spe.patch \
"
@@ -17,7 +17,7 @@ inherit pkgconfig binconfig
do_configure_prepend() {
sed -i -e s:/usr/local:${prefix}:g ${S}/Makefile
- sed -i -e s:/lib:${base_libdir}:g ${S}/Makefile
+ sed -i -e s:/lib$:${base_libdir}:g ${S}/Makefile
}
EXTRA_OEMAKE = 'CROSS=${HOST_PREFIX}'
More information about the Openembedded-commits
mailing list