freebsd-ports/lang/gnomebasic/files/patch-aa
2001-07-09 16:44:30 +00:00

39 lines
1.2 KiB
Text

$FreeBSD$
--- configure.orig Mon Jul 9 18:56:49 2001
+++ configure Mon Jul 9 19:02:33 2001
@@ -8248,9 +8248,9 @@
rm -f conf.glibtest
-GMODULE_CFLAGS=`glib-config --cflags gmodule`
+GMODULE_CFLAGS=`$GLIB_CONFIG --cflags gmodule`
-GMODULE_LIBS=`glib-config --libs gmodule`
+GMODULE_LIBS=`$GLIB_CONFIG --libs gmodule`
for ac_prog in 'bison -y' byacc
@@ -8501,8 +8501,8 @@
echo $ac_n "checking for GTK >= 1.2.2""... $ac_c" 1>&6
echo "configure:8504: checking for GTK >= 1.2.2" >&5
-if gtk-config --version > /dev/null 2>&1; then
- vers=`gtk-config --version | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
+if $GTK_CONFIG --version > /dev/null 2>&1; then
+ vers=`$GTK_CONFIG --version | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
if test "$vers" -ge 1002002; then
echo "$ac_t""found" 1>&6
else
@@ -9173,8 +9173,8 @@
GB_LIBDIR='-L${libdir}'
GB_INCLUDEDIR='-I${includedir}'
-GB_INCLUDEDIR="$GB_INCLUDEDIR `glib-config --cflags glib`"
-GB_LIBS="-lgb `glib-config --libs glib`"
+GB_INCLUDEDIR="$GB_INCLUDEDIR `$GLIB_CONFIG --cflags glib`"
+GB_LIBS="-lgbrun `$GLIB_CONFIG --libs glib`"