pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ocaml ocaml: Honor LDFLAGS. Fixes RELRO build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8dded56ff3d
branches:  trunk
changeset: 374393:c8dded56ff3d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jan 22 10:22:30 2018 +0000

description:
ocaml: Honor LDFLAGS. Fixes RELRO build.

diffstat:

 lang/ocaml/distinfo                |   4 ++--
 lang/ocaml/patches/patch-configure |  13 ++++++++++++-
 2 files changed, 14 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r 045dc3db415b -r c8dded56ff3d lang/ocaml/distinfo
--- a/lang/ocaml/distinfo       Mon Jan 22 07:50:40 2018 +0000
+++ b/lang/ocaml/distinfo       Mon Jan 22 10:22:30 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.116 2018/01/15 12:56:08 jperkin Exp $
+$NetBSD: distinfo,v 1.117 2018/01/22 10:22:30 wiz Exp $
 
 SHA1 (ocaml-4.06.0.tar.gz) = bcfe5895acc88d63635d77bf0bdb8817a947a134
 RMD160 (ocaml-4.06.0.tar.gz) = fc284c392b1dd072f2c5bc7c73d0149e858ec405
@@ -8,7 +8,7 @@
 SHA1 (patch-asmcomp_asmlink.ml) = db2b387ea17f41a62c2bce53b91f945d5e29a82f
 SHA1 (patch-asmrun_Makefile) = 86c88be262ae1278ca376d7966b496b49c549e72
 SHA1 (patch-byterun_Makefile) = 02797b10d685b25c0c6f5aab8eadc324e26826e9
-SHA1 (patch-configure) = 981084745d977f802fc77af1b431593e2a761286
+SHA1 (patch-configure) = 2bd3237bd5b7a5c3baafb90f86cbfb8c0b487c67
 SHA1 (patch-driver_compenv.ml) = 658e315bb08f8a1093f11c8474ac1e4ad73c8306
 SHA1 (patch-driver_main.ml) = 69a6f761ded38e0721a7aed1416a9f19a288d991
 SHA1 (patch-driver_main_args.ml) = 4c6a6ec25f433974f9aab99b4f2ac9c884bb3b04
diff -r 045dc3db415b -r c8dded56ff3d lang/ocaml/patches/patch-configure
--- a/lang/ocaml/patches/patch-configure        Mon Jan 22 07:50:40 2018 +0000
+++ b/lang/ocaml/patches/patch-configure        Mon Jan 22 10:22:30 2018 +0000
@@ -1,6 +1,8 @@
-$NetBSD: patch-configure,v 1.29 2018/01/15 12:56:08 jperkin Exp $
+$NetBSD: patch-configure,v 1.30 2018/01/22 10:22:30 wiz Exp $
 
 All kinds of OS-specific changes to configure
+Honor LDFLAGS.
+
 --- configure.orig     2017-11-03 13:52:13.000000000 +0000
 +++ configure
 @@ -791,7 +791,7 @@ sharedcccompopts=''
@@ -166,3 +168,12 @@
  if test "x11_include" != "not found"; then
    if test "$x11_include" = "-I/usr/include"; then
      x11_include=""
+@@ -2056,7 +2065,7 @@ config CFLAGS "$common_cflags $internal_
+ config CPPFLAGS "$common_cppflags $internal_cppflags"
+ config OCAMLC_CFLAGS "$common_cflags $sharedcccompopts"
+ config OCAMLC_CPPFLAGS "$common_cppflags"
+-config LDFLAGS "$ldflags"
++config LDFLAGS "$ldflags $LDFLAGS"
+ config BYTECCLIBS "$cclibs $dllib $curseslibs $pthread_link \
+                  $instrumented_runtime_libs"
+ config RPATH "$rpath"



Home | Main Index | Thread Index | Old Index