pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/enchant Make aspell the default backend again...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4269295c0d7d
branches: trunk
changeset: 541248:4269295c0d7d
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Apr 17 14:29:58 2008 +0000
description:
Make aspell the default backend again (for now), until
http://bugzilla.abisource.com/show_bug.cgi?id=11550
is fixed.
Add fix for compiling with gcc3, from Adam Hoka.
Bump PKGREVISION.
diffstat:
textproc/enchant/Makefile | 8 +++++-
textproc/enchant/distinfo | 3 +-
textproc/enchant/options.mk | 4 +-
textproc/enchant/patches/patch-aa | 40 +++++++++++++++++++++++++++++++++++++++
4 files changed, 50 insertions(+), 5 deletions(-)
diffs (105 lines):
diff -r ea8c2a4690ef -r 4269295c0d7d textproc/enchant/Makefile
--- a/textproc/enchant/Makefile Thu Apr 17 12:45:04 2008 +0000
+++ b/textproc/enchant/Makefile Thu Apr 17 14:29:58 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.23 2008/04/14 11:35:50 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2008/04/17 14:29:58 wiz Exp $
#
DISTNAME= enchant-1.4.0
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.abisource.com/downloads/enchant/1.4.0/
@@ -11,7 +12,7 @@
PKG_DESTDIR_SUPPORT= user-destdir
-USE_TOOLS+= pkg-config
+USE_TOOLS+= pkg-config autoconf
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
@@ -19,6 +20,9 @@
GNU_CONFIGURE= yes
CFLAGS.SunOS+= -D__EXTENSIONS__
+pre-configure:
+ cd ${WRKSRC} && autoconf
+
.include "options.mk"
.include "../../devel/glib2/buildlink3.mk"
diff -r ea8c2a4690ef -r 4269295c0d7d textproc/enchant/distinfo
--- a/textproc/enchant/distinfo Thu Apr 17 12:45:04 2008 +0000
+++ b/textproc/enchant/distinfo Thu Apr 17 14:29:58 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2008/04/14 11:35:50 wiz Exp $
+$NetBSD: distinfo,v 1.10 2008/04/17 14:29:58 wiz Exp $
SHA1 (enchant-1.4.0.tar.gz) = 1a3c140c96769d3268a7f1faf7d9400016985537
RMD160 (enchant-1.4.0.tar.gz) = 84a253e665f71ba5b3277ad95a403ea386d42ba4
Size (enchant-1.4.0.tar.gz) = 601930 bytes
+SHA1 (patch-aa) = 56ca983fdd6de171aba956b46c673299dcb7549e
diff -r ea8c2a4690ef -r 4269295c0d7d textproc/enchant/options.mk
--- a/textproc/enchant/options.mk Thu Apr 17 12:45:04 2008 +0000
+++ b/textproc/enchant/options.mk Thu Apr 17 14:29:58 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2008/04/14 11:35:50 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2008/04/17 14:29:58 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.enchant
PKG_SUPPORTED_OPTIONS= aspell enchant-zemberek hunspell ispell
@@ -6,7 +6,7 @@
# hspell - Hebrew spelling
# uspell - Yiddish spelling
# voikko - Finnish spelling
-PKG_SUGGESTED_OPTIONS= hunspell ispell
+PKG_SUGGESTED_OPTIONS= aspell ispell
.include "../../mk/bsd.options.mk"
diff -r ea8c2a4690ef -r 4269295c0d7d textproc/enchant/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/enchant/patches/patch-aa Thu Apr 17 14:29:58 2008 +0000
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.3 2008/04/17 14:29:58 wiz Exp $
+
+http://bugzilla.abisource.com/show_bug.cgi?id=11551
+
+--- configure.in.orig 2008-03-31 19:47:43.000000000 +0200
++++ configure.in
+@@ -75,18 +75,18 @@ AC_DEFUN([ENCHANT_CXX_TRY_FLAG], [
+ AC_MSG_CHECKING([whether $CXX supports $1])
+
+ AC_LANG_PUSH(C++)
+- enchant_save_CFLAGS="$CFLAGS"
+- CFLAGS="$CFLAGS $1"
++ enchant_save_CXXFLAGS="$CXXFLAGS"
++ CXXFLAGS="$CXXFLAGS $1"
+
+- AC_COMPILE_IFELSE([ ], [enchant_cc_flag=yes], [enchant_cc_flag=no])
+- CFLAGS="$enchant_save_CFLAGS"
++ AC_COMPILE_IFELSE([ ], [enchant_cxx_flag=yes], [enchant_cxx_flag=no])
++ CXXFLAGS="$enchant_save_CXXFLAGS"
+
+- if test "x$enchant_cc_flag" = "xyes"; then
++ if test "x$enchant_cxx_flag" = "xyes"; then
+ ifelse([$2], , :, [$2])
+ else
+ ifelse([$3], , :, [$3])
+ fi
+- AC_MSG_RESULT([$enchant_cc_flag])
++ AC_MSG_RESULT([$enchant_cxx_flag])
+ AC_LANG_POP(C++)
+ ])
+
+@@ -169,7 +169,7 @@ AC_CACHE_CHECK([for supported C++ warnin
+ done
+
+ enchant_cxx_cv_warn_cflags=$CXX_WARN_CFLAGS
+- enchant_cxx_cv_warn_cflags=$CXX_MAYBE_WARN
++ enchant_cxx_cv_warn_maybe=$CXX_MAYBE_WARN
+
+ AC_MSG_CHECKING([which C++ warning flags were supported])])
+ CXX_WARN_CFLAGS="$enchant_cxx_cv_warn_cflags"
Home |
Main Index |
Thread Index |
Old Index