pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/mcabber Port mcabber to enchant2, bump revision.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d3a941707bd
branches:  trunk
changeset: 325493:8d3a941707bd
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Nov 18 12:06:23 2018 +0000

description:
Port mcabber to enchant2, bump revision.

diffstat:

 chat/mcabber/Makefile                |   3 +-
 chat/mcabber/distinfo                |   3 +-
 chat/mcabber/options.mk              |   4 +-
 chat/mcabber/patches/patch-configure |  50 ++++++++++++++++++++++++++++++++++++
 4 files changed, 56 insertions(+), 4 deletions(-)

diffs (97 lines):

diff -r 82b409e6fa6f -r 8d3a941707bd chat/mcabber/Makefile
--- a/chat/mcabber/Makefile     Sun Nov 18 11:54:19 2018 +0000
+++ b/chat/mcabber/Makefile     Sun Nov 18 12:06:23 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2017/09/09 14:19:25 leot Exp $
+# $NetBSD: Makefile,v 1.11 2018/11/18 12:06:23 bsiegert Exp $
 
 DISTNAME=      mcabber-1.1.0
+PKGREVISION=   1
 CATEGORIES=    chat
 MASTER_SITES=  http://www.lilotux.net/~mikael/mcabber/files/
 EXTRACT_SUFX=  .tar.bz2
diff -r 82b409e6fa6f -r 8d3a941707bd chat/mcabber/distinfo
--- a/chat/mcabber/distinfo     Sun Nov 18 11:54:19 2018 +0000
+++ b/chat/mcabber/distinfo     Sun Nov 18 12:06:23 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2017/09/09 14:19:25 leot Exp $
+$NetBSD: distinfo,v 1.6 2018/11/18 12:06:23 bsiegert Exp $
 
 SHA1 (mcabber-1.1.0.tar.bz2) = 3530831e99007356142325e0e5cdffe4d4885c15
 RMD160 (mcabber-1.1.0.tar.bz2) = ba23cf7541b62f4d8b913416c2a7fabf3406a0b8
 SHA512 (mcabber-1.1.0.tar.bz2) = d12546e9fe9da94b6107f4d38d4083bee74e2702f7f2225e26be291230c6fe1319f60a3204da669dc00b14d69822425bf8214ebb723c3c4a7a33b1247a03093f
 Size (mcabber-1.1.0.tar.bz2) = 608975 bytes
 SHA1 (patch-aa) = 2abb198ee8433d2e7552236242f8fdc92e72979d
+SHA1 (patch-configure) = 7c328a067243e881aeb8eea445a8400c479349a5
diff -r 82b409e6fa6f -r 8d3a941707bd chat/mcabber/options.mk
--- a/chat/mcabber/options.mk   Sun Nov 18 11:54:19 2018 +0000
+++ b/chat/mcabber/options.mk   Sun Nov 18 12:06:23 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2014/01/10 09:50:42 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2018/11/18 12:06:23 bsiegert Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mcabber
 PKG_SUPPORTED_OPTIONS= aspell enchant gpgme otr ssl
@@ -23,7 +23,7 @@
 .endif
 
 .if !empty(PKG_OPTIONS:Menchant)
-.include "../../textproc/enchant/buildlink3.mk"
+.include "../../textproc/enchant2/buildlink3.mk"
 CONFIGURE_ARGS+=       --enable-enchant
 .endif
 
diff -r 82b409e6fa6f -r 8d3a941707bd chat/mcabber/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/mcabber/patches/patch-configure      Sun Nov 18 12:06:23 2018 +0000
@@ -0,0 +1,50 @@
+$NetBSD: patch-configure,v 1.3 2018/11/18 12:06:23 bsiegert Exp $
+
+Enchant2 support.
+
+--- configure.orig     2017-06-04 21:13:23.000000000 +0000
++++ configure
+@@ -16361,12 +16361,12 @@ if test -n "$ENCHANT_CFLAGS"; then
+     pkg_cv_ENCHANT_CFLAGS="$ENCHANT_CFLAGS"
+  elif test -n "$PKG_CONFIG"; then
+     if test -n "$PKG_CONFIG" && \
+-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant\""; } >&5
+-  ($PKG_CONFIG --exists --print-errors "enchant") 2>&5
++    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant-2\""; } >&5
++  ($PKG_CONFIG --exists --print-errors "enchant-2") 2>&5
+   ac_status=$?
+   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; then
+-  pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "enchant" 2>/dev/null`
++  pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "enchant-2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+ else
+   pkg_failed=yes
+@@ -16378,12 +16378,12 @@ if test -n "$ENCHANT_LIBS"; then
+     pkg_cv_ENCHANT_LIBS="$ENCHANT_LIBS"
+  elif test -n "$PKG_CONFIG"; then
+     if test -n "$PKG_CONFIG" && \
+-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant\""; } >&5
+-  ($PKG_CONFIG --exists --print-errors "enchant") 2>&5
++    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant-2\""; } >&5
++  ($PKG_CONFIG --exists --print-errors "enchant-2") 2>&5
+   ac_status=$?
+   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; then
+-  pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "enchant" 2>/dev/null`
++  pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "enchant-2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+ else
+   pkg_failed=yes
+@@ -16404,9 +16404,9 @@ else
+         _pkg_short_errors_supported=no
+ fi
+         if test $_pkg_short_errors_supported = yes; then
+-              ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "enchant" 2>&1`
++              ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "enchant-2" 2>&1`
+         else
+-              ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "enchant" 2>&1`
++              ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "enchant-2" 2>&1`
+         fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$ENCHANT_PKG_ERRORS" >&5



Home | Main Index | Thread Index | Old Index