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
commit6935146d36f7faa64e9afaf86e28c1bedb9a2311 (patch)
treece81fcd862fefd020513d8d70ecc199ec0c50ab9 /x11/p5-Tk/patches
parente1196feacfe28b3a7c148e3a37f9c4ec515d468a (diff)
downloadpkgsrc-6935146d36f7faa64e9afaf86e28c1bedb9a2311.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$_"
+ }
+ }
+ }