summaryrefslogtreecommitdiff
path: root/x11/gnome-libs/patches/patch-aj
blob: 38198b9de0a570c371e483df404e7360e19d978a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
$NetBSD: patch-aj,v 1.4 2000/10/17 23:57:46 jlam Exp $

--- gnome-config.in.orig	Wed Sep 27 19:59:01 2000
+++ gnome-config.in
@@ -40,6 +40,8 @@
     module_dirs="$extra:$module_dirs"
 done
 
+module_dirs="@LOCALBASE@/lib:$module_dirs"
+
 usage()
 {
     exit_code=$1
@@ -173,11 +175,11 @@
 	the_flags="$the_flags `gtk-config --cflags`"
 	;;
     gnome)
-       	the_libs="$the_libs @GNOME_LIBDIR@ @GNOME_LIBS@"
+       	the_libs="$the_libs @GNOME_LIBDIR@ @GNOME_LIBS@ @INTLLIBS@"
   	the_flags="$the_flags @GNOME_INCLUDEDIR@ @GTK_CFLAGS@"
 	;;
     gnomeui)
-	the_libs="$the_libs @GNOME_LIBDIR@ @GNOMEUI_LIBS@"
+	the_libs="$the_libs @GNOME_LIBDIR@ @GNOMEUI_LIBS@ @INTLLIBS@"
 	the_flags="$the_flags @GNOME_INCLUDEDIR@ @GTK_CFLAGS@"
 	;;
     gtkxmhtml)
@@ -253,7 +255,7 @@
     case "$i" in
     # a library, save it for later, in reverse order
     -l*) rev_libs="$i $rev_libs" ;;
-    -L*|-R*)
+    -L*|-R*|-Wl,-R*)
 	if $libs_L; then
 	    case " $lib_L_flags " in
 	    *\ $i\ *) ;;			# already there