pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ocaml Really honour LDFLAGS when building ocamlyacc



details:   https://anonhg.NetBSD.org/pkgsrc/rev/392cbf0a2657
branches:  trunk
changeset: 370913:392cbf0a2657
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Fri Oct 27 23:30:07 2017 +0000

description:
Really honour LDFLAGS when building ocamlyacc

This fixes building lang/ocaml with RELRO.

diffstat:

 lang/ocaml/distinfo                    |  4 ++--
 lang/ocaml/patches/patch-yacc_Makefile |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 1756bfb90d9b -r 392cbf0a2657 lang/ocaml/distinfo
--- a/lang/ocaml/distinfo       Fri Oct 27 21:01:06 2017 +0000
+++ b/lang/ocaml/distinfo       Fri Oct 27 23:30:07 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.112 2017/10/17 08:26:48 wiz Exp $
+$NetBSD: distinfo,v 1.113 2017/10/27 23:30:07 khorben Exp $
 
 SHA1 (ocaml-4.05.0.tar.gz) = ef9e3febed311cf9331baefd2999961b36f849cb
 RMD160 (ocaml-4.05.0.tar.gz) = 67b299c3abe032f955e95eac106c32664351453c
@@ -31,4 +31,4 @@
 SHA1 (patch-tools_ocamloptp.ml) = 070bd797fcd4120e58d15a09f25d93ec46b87d1a
 SHA1 (patch-utils_clflags.ml) = d16832fedb5db08d035f1661eaf9c3b48411bc69
 SHA1 (patch-utils_clflags.mli) = 381951d9583e032d3a520b68a8fe9f867ec49995
-SHA1 (patch-yacc_Makefile) = e7e77becbc1872fedd37bdeb4614739eb67977c8
+SHA1 (patch-yacc_Makefile) = 5a150661d2c3ebbee52131adbed1efbe69da90ef
diff -r 1756bfb90d9b -r 392cbf0a2657 lang/ocaml/patches/patch-yacc_Makefile
--- a/lang/ocaml/patches/patch-yacc_Makefile    Fri Oct 27 21:01:06 2017 +0000
+++ b/lang/ocaml/patches/patch-yacc_Makefile    Fri Oct 27 23:30:07 2017 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-yacc_Makefile,v 1.1 2017/07/17 23:26:23 wiz Exp $
+$NetBSD: patch-yacc_Makefile,v 1.2 2017/10/27 23:30:07 khorben Exp $
 
 Honor LDFLAGS when building ocamlyacc.
 
---- yacc/Makefile.orig 2017-06-23 15:13:40.000000000 +0000
+--- yacc/Makefile.orig 2017-07-13 08:56:45.000000000 +0000
 +++ yacc/Makefile
-@@ -27,7 +27,7 @@ OBJS= closure.$(O) error.$(O) lalr.$(O) 
+@@ -33,7 +33,7 @@ OBJS= closure.$(O) error.$(O) lalr.$(O) 
  all: ocamlyacc$(EXE)
  
  ocamlyacc$(EXE): $(OBJS)
 -      $(MKEXE) -o ocamlyacc$(EXE) $(OBJS) $(EXTRALIBS)
-+      $(MKEXE) $(BYTECCLINKOPTS) -o ocamlyacc$(EXE) $(OBJS) $(EXTRALIBS)
++      $(MKEXE) $(BYTECCLIBS) -o ocamlyacc$(EXE) $(OBJS) $(EXTRALIBS)
  
  version.h : ../VERSION
        echo "#define OCAML_VERSION \"`sed -e 1q $^ | tr -d '\r'`\"" > $@



Home | Main Index | Thread Index | Old Index