summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSergey Shatunov2017-07-14 03:29:11 +0700
committerSergey Shatunov2017-07-14 03:29:11 +0700
commitb393c245923f64ea9160a4a04889e24bae37394d (patch)
tree9f7e20549e0b5340fb7567ced9b08f6a4952b6e7 /PKGBUILD
parent746050c5ea9d37f72b9083b26f0bc8e505fda955 (diff)
downloadaur-b393c245923f64ea9160a4a04889e24bae37394d.tar.gz
Fix configure error on nginx 1.13.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e3d1416fd58..6894523af29 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=nginx-mainline-mod-http-xslt-filter
pkgver=1.13.3
-pkgrel=1
+pkgrel=2
_modname="${pkgname#nginx-mainline-mod-}"
_nginxver="$(/bin/nginx -v 2>&1 | grep -Eo '([[:digit:]]|\.)+')"
@@ -18,7 +18,9 @@ sha256sums=('5b73f98004c302fb8e4a172abf046d9ce77739a82487e4873b39f9b0dcbb0d72')
build() {
cd "$srcdir"/nginx-$_nginxver
- ./configure $(nginx -V 2>&1 | grep 'configure arguments' | sed -r 's@^[^:]+: @@') --with-http_xslt_module=dynamic
+ opts=$(nginx -V 2>&1 | grep 'configure arguments' | sed -r 's@^[^:]+: @@')
+ IFS=$'\n' opts=( $(xargs -n1 <<< "$opts") )
+ ./configure "${opts[@]}" --with-http_xslt_module=dynamic
make modules
}