1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/net/xwhois/files/patch-aa

50 lines
1.6 KiB
Plaintext
Raw Normal View History

--- configure.orig Wed Nov 17 17:27:48 1999
+++ configure Thu Dec 9 21:20:52 1999
@@ -863,11 +863,13 @@
1999-03-01 10:47:15 +00:00
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`
@@ -1397,10 +1399,10 @@
XWHOIS_SERVERS='$(prefix)/share/xwhois/xwhois.servers'
1999-03-01 10:47:15 +00:00
-INCLUDES="-I. -I.. `gtk-config --cflags`"
+INCLUDES="-I. -I.. `$GTK_CONFIG --cflags`"
1999-03-01 10:47:15 +00:00
-LIBS=`gtk-config --libs`
+LIBS=`$GTK_CONFIG --libs`
1999-03-01 10:47:15 +00:00
# DEFINES='-DSTD -DHAVE_SNPRINTF -DXWHOIS_SERVERS=\"$(XWHOIS_SERVERS)\" -D$(GTK_TYPE)'
DEFINES='-DXWHOIS_SERVERS=\"$(XWHOIS_SERVERS)\" -D$(GTK_TYPE)'
@@ -1419,7 +1421,7 @@
1999-03-01 10:47:15 +00:00
# Special compiler options.
if test $CC = "gcc"; then
- CFLAGS="-Wall ${CFLAGS}"
+ CFLAGS="${CFLAGS}"
1999-05-27 12:50:26 +00:00
fi
#if test $CC = "cc" && test $arch = "SunOS"; then
# CFLAGS="-g ${CFLAGS}"
@@ -1571,7 +1573,7 @@
1999-05-27 12:50:26 +00:00
if test $USE_PTHREADS = "yes"; then
if test -r /usr/include/pthread.h; then
- LIBS="-L/lib -L/usr/lib -lpthread ${LIBS}"
+ LIBS="-L/lib -L/usr/lib -pthread ${LIBS}"
elif test -r /usr/local/include/pthread.h; then
LIBS="-L/lib -L/usr/lib -L/usr/local/lib -lpthread ${LIBS}"
elif test -r /lib/libpthread.a; then