aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-03-30 09:47:57 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-30 09:47:57 +0000
commit499f771ef43c5b3a22a85ddf985a54a0f3f008c0 (patch)
tree08df595c3daba8497e51a2df88189a2edbe10d79 /main/nginx
parent3d3011882c0927b59cb0a34db8d7044d1133e918 (diff)
downloadaports-499f771ef43c5b3a22a85ddf985a54a0f3f008c0.tar.bz2
aports-499f771ef43c5b3a22a85ddf985a54a0f3f008c0.tar.xz
main/nginx: fix string comparison
Diffstat (limited to 'main/nginx')
-rw-r--r--main/nginx/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD
index def323f433..6c74ec36d5 100644
--- a/main/nginx/APKBUILD
+++ b/main/nginx/APKBUILD
@@ -5,7 +5,7 @@
pkgname=nginx
pkgver=1.10.3
-pkgrel=3
+pkgrel=4
pkgdesc="HTTP and reverse proxy server (stable version)"
url="http://www.nginx.org/en"
arch="all"
@@ -52,7 +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"
+[ "$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
libressl-dev paxmark pcre-dev perl-dev pkgconf zlib-dev"
pkgusers="nginx"