$NetBSD: patch-aa,v 1.7 2007/09/30 13:47:03 tnn Exp $

--- configure.orig	2007-09-29 18:40:51.000000000 +0200
+++ configure
@@ -19940,6 +19940,11 @@ INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.
 
 
 
+INTLTOOL_EXTRACT=intltool-extract
+INTLTOOL_MERGE=intltool-merge
+INTLTOOL_UPDATE=intltool-update
+# disable pidgin's builtin intltool
+if test -n ""; then
 # Use the tools built into the package, not the ones that are installed.
 INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
 
@@ -20173,6 +20178,7 @@ else
   { echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6; }
 fi
+fi # pkgsrc
 
 
 
@@ -28484,7 +28490,7 @@ if test "${ac_cv_lib_panel_update_panels
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpanel  $LIBS"
+LIBS="-lpanel -lncurses  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -28540,7 +28546,7 @@ fi
 { echo "$as_me:$LINENO: result: $ac_cv_lib_panel_update_panels" >&5
 echo "${ECHO_T}$ac_cv_lib_panel_update_panels" >&6; }
 if test $ac_cv_lib_panel_update_panels = yes; then
-  GNT_LIBS="$GNT_LIBS -lpanel"
+  GNT_LIBS="$GNT_LIBS -lpanel -lncurses"
 else
   enable_consoleui=no
 fi
