diff options
Diffstat (limited to 'extra/lua51/PKGBUILD')
-rw-r--r-- | extra/lua51/PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/lua51/PKGBUILD b/extra/lua51/PKGBUILD index 1ba21ab1b..435788e88 100644 --- a/extra/lua51/PKGBUILD +++ b/extra/lua51/PKGBUILD @@ -5,9 +5,9 @@ pkgname=lua51 pkgver=5.1.5 -pkgrel=3 +pkgrel=3.1 pkgdesc='A powerful light-weight programming language designed for extending applications' -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url='http://www.lua.org/' depends=('readline') license=('MIT') @@ -23,7 +23,7 @@ build() { cd lua-$pkgver patch -p1 -i "$srcdir/lua-arch.patch" patch -p1 -i "$srcdir/lua-5.1-cflags.diff" - [[ $CARCH == x86_64 ]] && export CFLAGS="$CFLAGS -fPIC" + [[ $CARCH != i686 ]] && export CFLAGS="$CFLAGS -fPIC" sed -e 's:llua:llua5.1:' -e 's:/include:/include/lua5.1:' -i etc/lua.pc sed -r -e '/^LUA_(SO|A|T)=/ s/lua/lua5.1/' -e '/^LUAC_T=/ s/luac/luac5.1/' -i src/Makefile make MYCFLAGS="$CFLAGS" MYLDFLAGS="$LDFLAGS" linux |