diff options
author | jlam <jlam> | 2001-10-02 06:39:59 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-10-02 06:39:59 +0000 |
commit | 6935146d36f7faa64e9afaf86e28c1bedb9a2311 (patch) | |
tree | ce81fcd862fefd020513d8d70ecc199ec0c50ab9 /x11/p5-Tk/patches | |
parent | e1196feacfe28b3a7c148e3a37f9c4ec515d468a (diff) | |
download | pkgsrc-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-ab | 13 |
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$_" + } + } + } |