aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx/APKBUILD
diff options
context:
space:
mode:
authorTuan M. Hoang <tmhoang@flatglobe.org>2017-02-22 17:07:13 -0500
committerTimo Teräs <timo.teras@iki.fi>2017-02-23 06:23:50 +0000
commit261d24db86618663c3de0f424235aaca5fa920ac (patch)
tree73f80f1f280ab949ad0822771dc194710655487c /main/nginx/APKBUILD
parentee5b660deb017eaaa04e010f07bab383b911ba82 (diff)
downloadaports-261d24db86618663c3de0f424235aaca5fa920ac.tar.bz2
aports-261d24db86618663c3de0f424235aaca5fa920ac.tar.xz
main/nginx: s390x does not support LuaJIT yet thus fallback to Lua5.1
Diffstat (limited to 'main/nginx/APKBUILD')
-rw-r--r--main/nginx/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD
index ac7d66aeba..8bacade21d 100644
--- a/main/nginx/APKBUILD
+++ b/main/nginx/APKBUILD
@@ -52,7 +52,8 @@ _rtmp_dir="$srcdir/$_rtmp_name-$_rtmp_ver"
_rtmp_provides="$pkgname-rtmp" # for backward compatibility
depends=""
-makedepends="linux-headers gd-dev geoip-dev libxml2-dev libxslt-dev luajit-dev
+[ "$CARCH" = "s390x" ] && _lua_dep="lua5.1-dev" || _lua_dep="luajit-dev"
+makedepends="linux-headers gd-dev geoip-dev libxml2-dev libxslt-dev $_lua_dep
libressl-dev paxmark pcre-dev perl-dev pkgconf zlib-dev"
pkgusers="nginx"
_grp_ngx="nginx"