pkgsrc/chat/gale/patches/patch-ac
adam 93a0b3e938 Changes 0.99f:
* gdomain now has a -K flag
* gsend has the -b flag
* the default gsubrc doesn't escape '+' characters
* the time format of the default gsubrc is adjustable
* sundry WQP bugfixes
* bug fix to stop gsub from dropping messages
* MacOSX compatibility fixes
* gkinfo has a -y flag
* much more verbose diagnostics when things go wrong with keys
* partial fix to the galed spum problem (not a real fix though)
* don't be as verbose about "replaced .. with __" messages
* more mostly unrelated liboop fixes
2005-09-07 13:58:16 +00:00

74 lines
2.4 KiB
Text

$NetBSD: patch-ac,v 1.2 2005/09/07 13:58:16 adam Exp $
--- liboop/configure.orig 2003-01-12 15:16:01.000000000 +0000
+++ liboop/configure
@@ -7957,7 +7957,7 @@ if test "${ac_cv_lib_readline_rl_callbac
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lreadline $LIBS"
+LIBS="-lreadline -ltermcap $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -8111,7 +8111,7 @@ echo "${ECHO_T}$ac_cv_header_readline_re
fi
if test $ac_cv_header_readline_readline_h = yes; then
- READLINE_LIBS="-lreadline"
+ READLINE_LIBS="-lreadline -ltermcap"
cat >>confdefs.h <<\_ACEOF
#define HAVE_READLINE 1
_ACEOF
@@ -8161,8 +8161,8 @@ echo "${ECHO_T}no" >&6
fi
if test -n "$PROG_GLIB_CONFIG" ; then
- GLIB_INCLUDES="`glib-config --cflags`"
- GLIB_LIBS="`glib-config --libs`"
+ GLIB_INCLUDES="`${PROG_GLIB_CONFIG} --cflags`"
+ GLIB_LIBS="`${PROG_GLIB_CONFIG} --libs`"
LIBS="$save_libs $GLIB_LIBS"
CPPFLAGS="$save_cppflags $GLIB_INCLUDES"
echo "$as_me:$LINENO: checking for g_main_set_poll_func" >&5
@@ -8346,7 +8346,7 @@ fi
LIBS="$save_libs"
CPPFLAGS="$save_cppflags"
-for version in 8.4 8.3 8.2 8.1 8.0 ; do
+for version in 84 83 82 81 80 ; do
CPPFLAGS="$save_cppflags -I/usr/include/tcl$version"
as_ac_Lib=`echo "ac_cv_lib_tcl$version''_Tcl_Main" | $as_tr_sh`
echo "$as_me:$LINENO: checking for Tcl_Main in -ltcl$version" >&5
@@ -8355,7 +8355,7 @@ if eval "test \"\${$as_ac_Lib+set}\" = s
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-ltcl$version $LIBS"
+LIBS="-ltcl$version -lm -lpthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -8514,7 +8514,7 @@ if test $ac_cv_header_tcl_h = yes; then
_ACEOF
TCL_INCLUDES="-I/usr/include/tcl$version"
- TCL_LIBS="-ltcl$version"
+ TCL_LIBS="-ltcl$version -lm -lpthread"
break
fi
@@ -8587,11 +8587,8 @@ if test $ac_cv_lib_wwwcore_HTEvent_setRe
_ACEOF
# This is just a little unpleasant.
- WWW_LIBS=" \
- -lwwwapp -lwwwcache -lwwwcore -lwwwdir -lwwwfile -lwwwftp -lwwwgopher \
- -lwwwhtml -lwwwhttp -lwwwinit -lwwwmime -lwwwmux -lwwwnews -lwwwstream \
- -lwwwtelnet -lwwwtrans -lwwwutils -lwwwzip -lmd5"
- WWW_INCLUDES="-I/usr/include/w3c-libwww" # the libwww RPM puts headers here
+ WWW_LIBS="`libwww-config --libs`"
+ WWW_INCLUDES="`libwww-config --cflags`" # the libwww RPM puts headers here
fi