mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
0f377793a7
gnome-config. Now 'gnome-config gtk --cflags' or so works.
59 lines
1.6 KiB
Plaintext
59 lines
1.6 KiB
Plaintext
--- gnome-config.in.orig Sat Sep 11 03:25:18 1999
|
|
+++ gnome-config.in Mon Oct 18 11:43:01 1999
|
|
@@ -19,7 +19,7 @@
|
|
pkglibdir=${libdir}/@PACKAGE@
|
|
pkgincludedir=${includedir}/@PACKAGE@
|
|
MODULE_VERSION=@PACKAGE@-@VERSION@
|
|
-module_dirs="$libdir"
|
|
+module_dirs="$sysconfdir"
|
|
|
|
# stolen from autoconf
|
|
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
|
|
@@ -65,18 +65,18 @@
|
|
|
|
Known values for LIBRARY are:
|
|
|
|
- glib (calls glib-config)
|
|
+ glib (calls GLIB_CONFIG)
|
|
idl (to be used with orbit-idl)
|
|
gnome
|
|
gnomeui
|
|
gnorba
|
|
- gtk (calls gtk-config)
|
|
+ gtk (calls GTK_CONFIG)
|
|
gtkxmhtml (only --libs)
|
|
zvt (only --libs)
|
|
|
|
If LIBRARY is none of these,
|
|
|
|
- ${libdir}/<LIBRARY>Conf.sh
|
|
+ ${sysconfdir}/<LIBRARY>Conf.sh
|
|
|
|
is looked in for the necessary information. Those currently installed
|
|
appear to be:
|
|
@@ -161,19 +161,19 @@
|
|
usage 1
|
|
;;
|
|
glib)
|
|
- the_libs="$the_libs `glib-config --libs`"
|
|
- the_flags="$the_flags `glib-config --cflags`"
|
|
+ the_libs="$the_libs `glib12-config --libs`"
|
|
+ the_flags="$the_flags `glib12-config --cflags`"
|
|
;;
|
|
gtk)
|
|
- the_libs="$the_libs `gtk-config --libs`"
|
|
- the_flags="$the_flags `gtk-config --cflags`"
|
|
+ the_libs="$the_libs `gtk12-config --libs`"
|
|
+ the_flags="$the_flags `gtk12-config --cflags`"
|
|
;;
|
|
gnome)
|
|
the_libs="$the_libs @GNOME_LIBDIR@ @GNOME_LIBS@"
|
|
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@"
|
|
the_flags="$the_flags @GNOME_INCLUDEDIR@ @GTK_CFLAGS@"
|
|
;;
|
|
gtkxmhtml)
|