summaryrefslogtreecommitdiff
path: root/x11/p5-Tk/patches
diff options
context:
space:
mode:
authorjlam <jlam>2001-10-02 06:39:59 +0000
committerjlam <jlam>2001-10-02 06:39:59 +0000
commitdaba7ed38807bfcac547f846056b8f1c01f1701b (patch)
treece81fcd862fefd020513d8d70ecc199ec0c50ab9 /x11/p5-Tk/patches
parent766d4672dc195a9659ef8e4abfae637fa2465f2b (diff)
downloadpkgsrc-daba7ed38807bfcac547f846056b8f1c01f1701b.tar.gz
Add -Wl,-R${X11BASE}/lib to the link command when making Tk.so. This
allows us to find libX11.so at run-time in the correct place.
Diffstat (limited to 'x11/p5-Tk/patches')
-rw-r--r--x11/p5-Tk/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/p5-Tk/patches/patch-ab b/x11/p5-Tk/patches/patch-ab
new file mode 100644
index 00000000000..10beefbe002
--- /dev/null
+++ b/x11/p5-Tk/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2001/10/02 06:40:00 jlam Exp $
+
+--- myConfig.orig Fri Mar 31 05:06:53 2000
++++ myConfig
+@@ -153,7 +153,7 @@
+ if (-r $lib)
+ {
+ print "Using -L$_ to find $lib\n";
+- return "-L$_"
++ return "-L$_ -Wl,-R$_"
+ }
+ }
+ }