summaryrefslogtreecommitdiffstats
path: root/http
diff options
context:
space:
mode:
authorPavel Vinogradov2019-06-28 15:31:16 -0400
committerPavel Vinogradov2019-06-28 15:31:16 -0400
commit3c1af9a777fbfc4a00bf5776764365f3fe525457 (patch)
tree5dea1773d063188349977361e6843ee2df758d5e /http
parent896bbdb9cca781ea0908e1385faf21a6f7733f67 (diff)
http/nginx: fixed perl module compilation
Diffstat (limited to 'http')
-rw-r--r--http/nginx/HISTORY3
-rwxr-xr-xhttp/nginx/PRE_BUILD5
2 files changed, 6 insertions, 2 deletions
diff --git a/http/nginx/HISTORY b/http/nginx/HISTORY
index ffe2bfb4a3..739ef97b00 100644
--- a/http/nginx/HISTORY
+++ b/http/nginx/HISTORY
@@ -1,6 +1,7 @@
2019-06-28 Pavel Vinogradov <public@sourcemage.org>
* CONFIGURE, BUILD, DEPENDS, PRE_BUILD, syslog-1.5.6.patch: simplified
- syslog module option and updated the corresponding patch
+ syslog module option and updated the corresponding patch, fixed
+ building of perl module
2019-06-25 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: devel version 1.17.1, 1.16.x is stable from now on
diff --git a/http/nginx/PRE_BUILD b/http/nginx/PRE_BUILD
index 9a15196163..9603f22c1d 100755
--- a/http/nginx/PRE_BUILD
+++ b/http/nginx/PRE_BUILD
@@ -19,4 +19,7 @@ if list_find "$NGINX_MODULES" "auth_ldap"; then
fi &&
if list_find "$NGINX_MODULES" "dav_ext"; then
unpack_file 5
-fi
+fi &&
+
+# our Perl insists on that
+sed "/CCFLAGS/s:}:& -fPIC:" -i src/http/modules/perl/Makefile.PL