freebsd-ports/x11/gnome-libs/files/patch-ac
1999-01-14 16:59:34 +00:00

68 lines
2 KiB
Text

--- gnome-config.in.orig Wed Jan 13 07:42:48 1999
+++ gnome-config.in Fri Jan 15 00:02:56 1999
@@ -41,18 +41,18 @@
Known values for LIBRARY are:
- glib (calls glib-config)
+ glib11d (calls glib11d-config)
idl (to be used with orbit-idl)
gnome
gnomeui
gnorba
- gtk (calls gtk-config)
+ gtk11d (calls gtk11d-config)
gtkxmhtml (only --libs)
zvt (only --libs)
If LIBRARY is none of these,
- ${libdir}/<LIBRARY>Conf.sh
+ ${datadir}/<LIBRARY>Conf.sh
is looked in for the necessary information.
EOF
@@ -114,33 +114,33 @@
usage 1
;;
glib)
- the_libs="$the_libs `glib-config --libs`"
- the_flags="$the_flags `glib-config --cflags`"
+ the_libs="$the_libs `glib11d-config --libs`"
+ the_flags="$the_flags `glib11d-config --cflags`"
;;
- gtk)
- the_libs="$the_libs `gtk-config --libs`"
- the_flags="$the_flags `gtk-config --cflags`"
+ gtk11)
+ the_libs="$the_libs `gtk11d-config --libs`"
+ the_flags="$the_flags `gtk11d-config --cflags`"
;;
gnome)
- the_libs="$the_libs @GNOME_LIBDIR@ @GNOME_LIBS@"
+ the_libs="$the_libs @GNOME_LIBDIR@ @GNOME_LIBS@ -lintl"
the_flags="$the_flags @GNOME_INCLUDEDIR@ @GTK_CFLAGS@"
;;
gnomeui)
- the_libs="$the_libs @GNOME_LIBDIR@ @GNOMEUI_LIBS@"
+ the_libs="$the_libs @GNOME_LIBDIR@ -lXpm -ljpeg -lpng -lz -ltiff -lgif @GNOMEUI_LIBS@ -lintl"
the_flags="$the_flags @GNOME_INCLUDEDIR@ @GTK_CFLAGS@"
;;
gtkxmhtml)
- the_libs="$the_libs @GNOME_LIBDIR@ @GTKXMHTML_LIBS@"
+ the_libs="$the_libs @GNOME_LIBDIR@ @GTKXMHTML_LIBS@ -lintl"
;;
gnorba)
- the_libs="$the_libs @GNOME_LIBDIR@ -lgnorba @ORBIT_LIBS@"
+ the_libs="$the_libs @GNOME_LIBDIR@ -lgnorba @ORBIT_LIBS@ -lintl"
the_flags="$the_flags @GNOME_INCLUDEDIR@ @ORBIT_CFLAGS@"
;;
idl)
the_flags="@GNOME_IDLDIR@"
;;
zvt)
- the_libs="$the_libs @GNOME_LIBDIR@ @ZVT_LIBS@"
+ the_libs="$the_libs @GNOME_LIBDIR@ @ZVT_LIBS@ -lintl"
;;
*)
cnf_sh=${libdir}/${1}Conf.sh