diff options
Diffstat (limited to 'main/nginx')
-rw-r--r-- | main/nginx/APKBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD index ee34c548be..5614246205 100644 --- a/main/nginx/APKBUILD +++ b/main/nginx/APKBUILD @@ -5,7 +5,7 @@ pkgname=nginx pkgver=1.10.1 -pkgrel=5 +pkgrel=6 pkgdesc="HTTP and reverse proxy server" url="http://www.nginx.org/en" arch="all" @@ -46,7 +46,7 @@ _rtmp_dir="$srcdir/$_rtmp_name-$_rtmp_ver" depends="" makedepends="linux-headers gd-dev geoip-dev libxml2-dev libxslt-dev luajit-dev - openssl-dev pcre-dev perl-dev zlib-dev" + openssl-dev pcre-dev perl-dev pkgconf zlib-dev" pkgusers="nginx" _grp_ngx="nginx" _grp_www="www-data" @@ -93,6 +93,8 @@ done build() { cd "$builddir" + export LUAJIT_LIB="$(pkgconf --variable=libdir luajit)" + export LUAJIT_INC="$(pkgconf --variable=includedir luajit)" ./configure \ --prefix=/var/lib/$pkgname \ --sbin-path=/usr/sbin/$pkgname \ |