diff options
Diffstat (limited to 'extra/lua/PKGBUILD')
-rw-r--r-- | extra/lua/PKGBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/lua/PKGBUILD b/extra/lua/PKGBUILD index 2020b0270..65828bc12 100644 --- a/extra/lua/PKGBUILD +++ b/extra/lua/PKGBUILD @@ -7,7 +7,7 @@ pkgver=5.1.4 pkgrel=9 _patchver=5.1.4-4 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') @@ -26,6 +26,8 @@ build() { patch -p1 -i "${srcdir}/lua-arch.patch" [ "$CARCH" == "x86_64" ] && patch -p1 -i "${srcdir}/lua-5.1-cflags.diff" [ "$CARCH" == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC" + [ "$CARCH" == "mips64el" ] && patch -p1 -i "${srcdir}/lua-5.1-cflags.diff" + [ "$CARCH" == "mips64el" ] && export CFLAGS="$CFLAGS -fPIC" make INSTALL_DATA="cp -d" TO_LIB="liblua.a liblua.so liblua.so.5.1" LUA_SO=liblua.so \ INSTALL_TOP="${pkgdir}/usr" INSTALL_MAN="${pkgdir}/usr/share/man/man1" \ linux |