1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/net/xwhois/files/patch-aa
Kris Kennaway 610a5e8ff0 Update to v0.3.5
PR:		11614
1999-05-27 12:50:26 +00:00

41 lines
1.2 KiB
Plaintext

--- configure.orig Sat May 8 10:19:38 1999
+++ configure Sun May 9 12:14:58 1999
@@ -842,11 +842,13 @@
echo "configure: warning: cant find gtk-config" 1>&2
echo "-------------------------------------------------"
echo " GTK+ doesnt seam to be installed on this system"
-echo " or maybe gtk-config isnt in your PATH"
+echo " or maybe gtk-config isnt in your PATH. Set"
+echo " GTK_CONFIG in your environment to point to the"
+echo " location of the file if it does exist."
echo "-------------------------------------------------"
exit 0
else
-GTK_PREFIX=`gtk-config --version`
+GTK_PREFIX=`$GTK_CONFIG --version`
x=`echo $GTK_PREFIX|cut -d. -f1`
y=`echo $GTK_PREFIX|cut -d. -f2`
z=`echo $GTK_PREFIX|cut -d. -f3`
@@ -928,10 +930,10 @@
XWHOIS_SERVERS='$(prefix)/share/xwhois/xwhois.servers'
-INCLUDES="-I. `gtk-config --cflags`"
+INCLUDES="-I. `$GTK_CONFIG --cflags`"
-LIBS=`gtk-config --libs`
+LIBS=`$GTK_CONFIG --libs`
DEFINES='-DSTD -DHAVE_SNPRINTF -DXWHOIS_SERVERS=\"$(XWHOIS_SERVERS)\" -D$(GTK_TYPE)'
@@ -1234,7 +1236,7 @@
CFLAGS="-Wall $CFLAGS"
fi
if test $CC = "cc"; then
- CFLAGS="-g3 $CFLAGS"
+ CFLAGS="$CFLAGS"
fi
# Special system options.