pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/nginx Add support for LDFLAGS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2614a28e28a8
branches:  trunk
changeset: 371670:2614a28e28a8
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Thu Nov 16 21:10:56 2017 +0000

description:
Add support for LDFLAGS

This notably fixes building with RELRO enabled (without cwrappers).

diffstat:

 www/nginx/distinfo                   |   3 ++-
 www/nginx/patches/patch-auto_cc_conf |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 7aeb69a652f6 -r 2614a28e28a8 www/nginx/distinfo
--- a/www/nginx/distinfo        Thu Nov 16 19:48:24 2017 +0000
+++ b/www/nginx/distinfo        Thu Nov 16 21:10:56 2017 +0000
@@ -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 @@
 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 -r 7aeb69a652f6 -r 2614a28e28a8 www/nginx/patches/patch-auto_cc_conf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/nginx/patches/patch-auto_cc_conf      Thu Nov 16 21:10:56 2017 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index