summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-30 16:08:03 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-30 16:08:03 +0000
commit1ca7104f3fea5821b1eb89081bf5e91e6d821a22 (patch)
treef9648dce08dff9bd6e42511e53ea5f590d318d72
parentb3355274c7d600c04ddaaebe8e470825aff3dffd (diff)
downloadpkgsrc-1ca7104f3fea5821b1eb89081bf5e91e6d821a22.tar.gz
When checking for -lpanel, explicitly link -lncurses as well.
Fixes the detection on DragonFly.
-rw-r--r--chat/libpurple/distinfo3
-rw-r--r--chat/libpurple/patches/patch-aa22
2 files changed, 24 insertions, 1 deletions
diff --git a/chat/libpurple/distinfo b/chat/libpurple/distinfo
index 5861fd0ed57..38f8a838e2a 100644
--- a/chat/libpurple/distinfo
+++ b/chat/libpurple/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.6 2007/08/17 16:39:37 gdt Exp $
+$NetBSD: distinfo,v 1.7 2007/08/30 16:08:03 joerg Exp $
SHA1 (pidgin-2.1.0.tar.bz2) = 33f78d07c3c7797a710bb7d2032a8d0bd89a6ab3
RMD160 (pidgin-2.1.0.tar.bz2) = d04437251fbea8a1902621ebdf98f6fdc826a6d4
Size (pidgin-2.1.0.tar.bz2) = 7772942 bytes
+SHA1 (patch-aa) = dadaf534f32384741edae7fa25eb7e3265121698
SHA1 (patch-ab) = 5f1fc87cc258de372fbdf521aeb6822f50506090
SHA1 (patch-ae) = 82cc41e44609480f30062f922ca6001d57336862
SHA1 (patch-af) = 047d03f91ef386a92e302e7fa2c46ad2d08214e4
diff --git a/chat/libpurple/patches/patch-aa b/chat/libpurple/patches/patch-aa
new file mode 100644
index 00000000000..2798773d755
--- /dev/null
+++ b/chat/libpurple/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.5 2007/08/30 16:08:03 joerg Exp $
+
+--- configure.orig 2007-08-30 15:40:54.000000000 +0000
++++ configure
+@@ -28183,7 +28183,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
+@@ -28239,7 +28239,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