summaryrefslogtreecommitdiffstats
path: root/extra/lua/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lua/Pkgfile')
-rw-r--r--extra/lua/Pkgfile6
1 files 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