summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2017-11-16 21:10:56 +0000
committerkhorben <khorben@pkgsrc.org>2017-11-16 21:10:56 +0000
commita440fcf6b3e810503d60b11acc91b4b230d13bfd (patch)
treef47acffb304c42b09e336b83554efb7a3ebf1d70 /www
parent38dc9e7ab0a7ff04865ff8cd9c6772b3143f3212 (diff)
downloadpkgsrc-a440fcf6b3e810503d60b11acc91b4b230d13bfd.tar.gz
Add support for LDFLAGS
This notably fixes building with RELRO enabled (without cwrappers).
Diffstat (limited to 'www')
-rw-r--r--www/nginx/distinfo3
-rw-r--r--www/nginx/patches/patch-auto_cc_conf15
2 files changed, 17 insertions, 1 deletions
diff --git a/www/nginx/distinfo b/www/nginx/distinfo
index 448afa0cb25..9d963a4d471 100644
--- a/www/nginx/distinfo
+++ b/www/nginx/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.60 2017/10/31 10:18:42 jperkin Exp $
+$NetBSD: distinfo,v 1.61 2017/11/16 21:10:56 khorben Exp $
SHA1 (array-var-nginx-module-0.05.tar.gz) = c69fac77814947009ab783a471783b3c95a63a26
RMD160 (array-var-nginx-module-0.05.tar.gz) = 89bd4efc04864e3e90781588a337338951ec8733
@@ -50,5 +50,6 @@ SHA512 (set-misc-nginx-module-0.31.tar.gz) = c853b041cecc3521f888be3d0483c6cf23d
Size (set-misc-nginx-module-0.31.tar.gz) = 29359 bytes
SHA1 (patch-aa) = 47f0c19b47b115f00ea6e9432d5bb12058c3bc1c
SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763
+SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
SHA1 (patch-auto_lib_pcre_conf) = 8cf03fe38e7f75ef6892cc8b93be5cb18c381e97
SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
diff --git a/www/nginx/patches/patch-auto_cc_conf b/www/nginx/patches/patch-auto_cc_conf
new file mode 100644
index 00000000000..23d947dcfaf
--- /dev/null
+++ b/www/nginx/patches/patch-auto_cc_conf
@@ -0,0 +1,15 @@
+$NetBSD: patch-auto_cc_conf,v 1.1 2017/11/16 21:10:56 khorben Exp $
+
+Add support for LDFLAGS
+
+--- auto/cc/conf.orig 2017-07-11 13:24:06.000000000 +0000
++++ auto/cc/conf
+@@ -3,7 +3,7 @@
+ # Copyright (C) Nginx, Inc.
+
+
+-LINK="\$(CC)"
++LINK="\$(CC) \$(LDFLAGS)"
+
+ MAIN_LINK=
+ MODULE_LINK="-shared"