From 66c2db2115fea7fe1e8466136fac0f5b16957f1b Mon Sep 17 00:00:00 2001 From: sibel Date: Tue, 25 Jan 2011 17:59:20 +0100 Subject: lua, correction port 5.1.4-3 --- extra/lua/Pkgfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extra/lua/Pkgfile b/extra/lua/Pkgfile index ab0918344..22ed2d716 100644 --- a/extra/lua/Pkgfile +++ b/extra/lua/Pkgfile @@ -7,7 +7,7 @@ name=lua version=5.1.4 -release=2 +release=3 source=(http://www.lua.org/ftp/$name-$version.tar.gz lua-5.1.4-patch-lua.patch lua-5.1.4-cflags.diff) @@ -16,8 +16,8 @@ build() { cd $name-$version patch < $SRC/lua-5.1.4-patch-lua.patch -d src - [ "$CARCH" == "x86_64" ] && patch -Np1 -i ../lua-5.1.4-cflags.diff - [ "$CARCH" == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC" + [ `uname -i` == "x86_64" ] && patch -Np1 -i ../lua-5.1.4-cflags.diff + [ `uname -i` == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC" make linux make INSTALL_TOP=$PKG/usr install -- cgit v1.2.3-70-g09d2