pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/lablgtk1 In ocaml-land, linking with the same libr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9b243c13db60
branches: trunk
changeset: 368016:9b243c13db60
user: dholland <dholland%pkgsrc.org@localhost>
date: Sun Sep 10 01:59:12 2017 +0000
description:
In ocaml-land, linking with the same library twice causes the roof of the
dungeon to fall in. So avoid doing that.
diffstat:
x11/lablgtk1/distinfo | 4 ++--
x11/lablgtk1/patches/patch-aa | 27 +++++++++++++++++++++++----
2 files changed, 25 insertions(+), 6 deletions(-)
diffs (57 lines):
diff -r fbea55303c28 -r 9b243c13db60 x11/lablgtk1/distinfo
--- a/x11/lablgtk1/distinfo Sun Sep 10 01:49:40 2017 +0000
+++ b/x11/lablgtk1/distinfo Sun Sep 10 01:59:12 2017 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2015/11/04 03:28:44 agc Exp $
+$NetBSD: distinfo,v 1.6 2017/09/10 01:59:12 dholland Exp $
SHA1 (lablgtk-1.2.7.tar.gz) = fe43512efdc7ab4e0dafb7dc8254a784857a1ade
RMD160 (lablgtk-1.2.7.tar.gz) = 27be7ff29fe4370bc9a1bbef8c0fa0db590f27c4
SHA512 (lablgtk-1.2.7.tar.gz) = ba35d3034836bd016b17835120aeb5bca9030e7fae0a76f1425d7ffda7118f9627aa24d95c2644f66ddc55d7dd72ee36c9db9ad69df01e29f62af244cb8643df
Size (lablgtk-1.2.7.tar.gz) = 468443 bytes
-SHA1 (patch-aa) = 409f983195d41d4712688a0c03b693f0a9641096
+SHA1 (patch-aa) = 54b570d7fee4b5808cd669a9a45e79c9230ee6d8
SHA1 (patch-src_gList.ml) = 38e37e3b8b5279eaa627299cbc9b9c552c1e5a89
diff -r fbea55303c28 -r 9b243c13db60 x11/lablgtk1/patches/patch-aa
--- a/x11/lablgtk1/patches/patch-aa Sun Sep 10 01:49:40 2017 +0000
+++ b/x11/lablgtk1/patches/patch-aa Sun Sep 10 01:59:12 2017 +0000
@@ -1,8 +1,12 @@
-$NetBSD: patch-aa,v 1.3 2011/04/09 08:58:51 obache Exp $
+$NetBSD: patch-aa,v 1.4 2017/09/10 01:59:12 dholland Exp $
---- src/Makefile.orig 2003-05-15 16:17:53.000000000 +0200
+- build with PIC
+- don't link with unix.cma twice; it doesn't work
+- DESTDIR support
+
+--- src/Makefile.orig 2003-05-15 14:17:53.000000000 +0000
+++ src/Makefile
-@@ -38,7 +38,7 @@ CFLAGS = -g $(GTKCFLAGS)
+@@ -38,11 +38,12 @@ CFLAGS = -g $(GTKCFLAGS)
MLLINK += -cclib -lcamlrund
MLFLAGS = -g
else
@@ -11,7 +15,22 @@
endif
THFLAGS = -thread
-@@ -137,32 +137,39 @@ testcc: lablgladecc lablgtktop
+-THLINK = unix.cma threads.cma
++#THLINK = unix.cma threads.cma $(MLLINK) # duplicates unix.cma and fails
++THLINK = unix.cma threads.cma str.cma
+
+ ifdef USE_CC
+ CCOMPILER = $(CC) -c -I$(LIBDIR) $(CFLAGS)
+@@ -115,7 +116,7 @@ lablgtktop: $(MLLIBS) $(INITOBJS)
+ $(TOPLEVEL) -o $@ $(MLLINK) -I . $(MLLIBS) $(INITOBJS)
+
+ lablgtktop_t: $(MLLIBS) $(THOBJS) $(INITOBJS) $(THINITOBJS)
+- $(TOPLEVEL) $(THFLAGS) -o $@ $(THLINK) $(MLLINK) \
++ $(TOPLEVEL) $(THFLAGS) -o $@ $(THLINK) \
+ -I . $(MLLIBS) $(THOBJS) $(INITOBJS) $(THINITOBJS)
+
+ lablgtk: Makefile $(CONFIG) lablgtk.in
+@@ -137,32 +138,39 @@ testcc: lablgladecc lablgtktop
rm -f testcc.ml
install:
Home |
Main Index |
Thread Index |
Old Index