diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-30 12:30:27 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-30 12:32:49 +0200 |
commit | 729d2fa8714b10ce3cd6709cba89b639bf4e24e8 (patch) | |
tree | 5162ba61c497b3c9f9713ad12e872391c6b452ab /main/nginx | |
parent | 7b7cc794d190cf7e9a29b15deddde88f236fd5c2 (diff) | |
download | aports-729d2fa8714b10ce3cd6709cba89b639bf4e24e8.tar.bz2 aports-729d2fa8714b10ce3cd6709cba89b639bf4e24e8.tar.xz |
main/nginx: clean the mess with luajit condition
Diffstat (limited to 'main/nginx')
-rw-r--r-- | main/nginx/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD index 6c74ec36d5..8da28c793a 100644 --- a/main/nginx/APKBUILD +++ b/main/nginx/APKBUILD @@ -5,7 +5,7 @@ pkgname=nginx pkgver=1.10.3 -pkgrel=4 +pkgrel=5 pkgdesc="HTTP and reverse proxy server (stable version)" url="http://www.nginx.org/en" arch="all" @@ -52,8 +52,7 @@ _rtmp_dir="$srcdir/$_rtmp_name-$_rtmp_ver" _rtmp_provides="$pkgname-rtmp" # for backward compatibility depends="" -[ "$CARCH" == "s390x" ] && [ "$CARCH" == "ppc64le" ] && _lua_dep="lua5.1-dev" || _lua_dep="luajit-dev" -makedepends="linux-headers gd-dev geoip-dev libxml2-dev libxslt-dev $_lua_dep +makedepends="linux-headers gd-dev geoip-dev libxml2-dev libxslt-dev libressl-dev paxmark pcre-dev perl-dev pkgconf zlib-dev" pkgusers="nginx" _grp_ngx="nginx" @@ -79,6 +78,12 @@ source="http://nginx.org/download/$pkgname-$pkgver.tar.gz " builddir="$srcdir/$pkgname-$pkgver" +# luajit is not available for s390x and ppc64le +case "$CARCH" in + ppc64le | s390x) makedepends="$makedepends lua5.1-dev";; + *) makedepends="$makedepends luajit-dev";; +esac + _modules_dir="usr/lib/$pkgname/modules" _modules=" http-geoip |