pkgsrc/x11/gtk/patches/patch-af
danw 20f673d41e Fixes for Darwin: add CONFIG_SUB_OVERRIDE, don't use X shared memory
extension, and tweak the gtk-config patch so it's still syntactically
correct after RPATH_FLAG stripping
2003-10-04 18:03:26 +00:00

16 lines
527 B
Text

$NetBSD: patch-af,v 1.3 2003/10/04 18:03:26 danw Exp $
--- gtk-config.in.orig Tue Feb 2 00:17:38 1999
+++ gtk-config.in Thu Apr 29 12:13:36 1999
@@ -104,9 +104,9 @@
if test "$echo_libs" = "yes"; then
my_glib_libs=
- libdirs=-L@libdir@
+ libdirs="-L@libdir@ -Wl,-R@libdir@"
for i in $glib_libs ; do
- if test $i != -L@libdir@ ; then
+ if test $i != -L@libdir@ -a x$i != x-Wl,-R@libdir@ ; then
if test -z "$my_glib_libs" ; then
my_glib_libs="$i"
else