summaryrefslogtreecommitdiff
path: root/x11/lablgtk/patches
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-12-24 18:33:09 +0000
committerjmmv <jmmv>2004-12-24 18:33:09 +0000
commitd155cc58a02faa2f76668db3aaa88f5a9997e71d (patch)
tree2417ca1266c6df2a37f57ff749710d56588129c5 /x11/lablgtk/patches
parentea2804ce0ca52b346ade6c73066a900f6c20418b (diff)
downloadpkgsrc-d155cc58a02faa2f76668db3aaa88f5a9997e71d.tar.gz
Make sure the rpaths reach the compiler; otherwise, lablgtk can't find the
X11 libraries. I suspect this was not noticed before because the whole ocaml was linked against these libraries, so they were pulled in at runtime anyway.
Diffstat (limited to 'x11/lablgtk/patches')
-rw-r--r--x11/lablgtk/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/lablgtk/patches/patch-ab b/x11/lablgtk/patches/patch-ab
new file mode 100644
index 00000000000..838f3c2a349
--- /dev/null
+++ b/x11/lablgtk/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/12/24 18:33:09 jmmv Exp $
+
+--- Makefile.orig 2003-05-23 10:36:29.000000000 +0200
++++ Makefile
+@@ -46,7 +46,7 @@ GTKCFLAGS = `$(GTK_CONFIG) --cflags`
+ endif
+ endif
+
+-GTKLIBS = `$(GTK_CONFIG) --libs`
++GTKLIBS = `$(GTK_CONFIG) --libs | sed -e 's| | -ccopt |g;s|^|-ccopt |'`
+ GLLIBS = -lGLU -lGL
+
+ all: config.make