1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/www/bluefish/files/patch-aa

59 lines
2.5 KiB
Plaintext
Raw Normal View History

2000-03-19 00:53:56 +00:00
--- configure.orig Wed Mar 15 22:51:32 2000
+++ configure Wed Mar 15 22:53:38 2000
@@ -946,8 +946,8 @@
x_includes="/usr/include"
fi
-LIBS="$LIBS `gtk-config --libs`"
2000-03-19 00:53:56 +00:00
-CFLAGS="$CFLAGS `gtk-config --cflags`"
+LIBS="$LIBS `${GTK_CONFIG} --libs`"
2000-03-19 00:53:56 +00:00
+CFLAGS="$CFLAGS `${GTK_CONFIG} --cflags`"
# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
if test "${with_gtk_prefix+set}" = set; then
2000-03-19 00:53:56 +00:00
@@ -977,18 +977,18 @@
if test x$gtk_config_exec_prefix != x ; then
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
if test x${GTK_CONFIG+set} != xset ; then
- GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
+ GTK_CONFIG=$gtk_config_exec_prefix/bin/${GTK_CONFIG}
fi
fi
if test x$gtk_config_prefix != x ; then
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
if test x${GTK_CONFIG+set} != xset ; then
- GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
+ GTK_CONFIG=$gtk_config_prefix/bin/${GTK_CONFIG}
fi
fi
- # Extract the first word of "gtk-config", so it can be a program name with args.
-set dummy gtk-config; ac_word=$2
+ # Extract the first word of "${GTK_CONFIG}", so it can be a program name with args.
+set dummy ${GTK_CONFIG}; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2000-03-19 00:53:56 +00:00
echo "configure:994: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
2000-03-19 00:53:56 +00:00
@@ -1124,10 +1124,10 @@
else
echo "$ac_t""no" 1>&6
# if test "$GTK_CONFIG" = "no" ; then
-# echo "*** The gtk-config script installed by GTK could not be found"
+# echo "*** The ${GTK_CONFIG} script installed by GTK could not be found"
# echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
# echo "*** your path, or set the GTK_CONFIG environment variable to the"
-# echo "*** full path to gtk-config."
+# echo "*** full path to ${GTK_CONFIG}."
# else
# if test -f conf.gtktest ; then
# :
2000-03-19 00:53:56 +00:00
@@ -1156,7 +1156,7 @@
# [ echo "*** The test program failed to compile or link. See the file config.log for the"
# echo "*** exact error that occured. This usually means GTK was incorrectly installed"
# echo "*** or that you have moved GTK since it was installed. In the latter case, you"
-# echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
+# echo "*** may want to edit the ${GTK_CONFIG} script: $GTK_CONFIG" ])
# CFLAGS="$ac_save_CFLAGS"
# LIBS="$ac_save_LIBS"
# fi