aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-08-14 23:39:09 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-15 20:47:27 +0200
commit44ac8da0ad638b29911a59ee7c6a1331125f3234 (patch)
tree3731c36237edad23227d905f6a21034984280109 /main/nginx
parent3a0f70157f46650d6b2b6eb64b740a7f64e900eb (diff)
downloadaports-44ac8da0ad638b29911a59ee7c6a1331125f3234.tar.bz2
aports-44ac8da0ad638b29911a59ee7c6a1331125f3234.tar.xz
main/nginx: help configure script to find luajit-2.1
Diffstat (limited to 'main/nginx')
-rw-r--r--main/nginx/APKBUILD6
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 \