summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-25 17:59:20 +0100
committersibel <lesibel@free.fr>2011-01-25 17:59:20 +0100
commit66c2db2115fea7fe1e8466136fac0f5b16957f1b (patch)
tree28710ea1505bd5e71fc6e82483403b773ee1d79a
parentac311a9cb45ffc62a1baa4106de43ed4414de471 (diff)
downloadnutyx-extra-66c2db2115fea7fe1e8466136fac0f5b16957f1b.tar.gz
nutyx-extra-66c2db2115fea7fe1e8466136fac0f5b16957f1b.tar.bz2
nutyx-extra-66c2db2115fea7fe1e8466136fac0f5b16957f1b.tar.xz
nutyx-extra-66c2db2115fea7fe1e8466136fac0f5b16957f1b.zip
lua, correction port 5.1.4-3
-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