pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/enchant textproc/enchant: Disable hspell/uspe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75af8fbb999d
branches:  trunk
changeset: 325640:75af8fbb999d
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Nov 22 14:56:07 2018 +0000

description:
textproc/enchant: Disable hspell/uspell/voikko explicitly rather than relying
on them not being detected, since the build will break if they are picked up
as installed outside of pkgsrc.

diffstat:

 textproc/enchant/Makefile   |  12 +++++++++++-
 textproc/enchant/options.mk |   6 +-----
 2 files changed, 12 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r 87688e92f078 -r 75af8fbb999d textproc/enchant/Makefile
--- a/textproc/enchant/Makefile Thu Nov 22 13:09:42 2018 +0000
+++ b/textproc/enchant/Makefile Thu Nov 22 14:56:07 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2018/11/16 13:02:46 bsiegert Exp $
+# $NetBSD: Makefile,v 1.41 2018/11/22 14:56:07 nia Exp $
 #
 
 DISTNAME=              enchant-1.6.0
@@ -23,6 +23,16 @@
 MAKE_DIRS+=            ${PREFIX}/share/enchant
 CONF_FILES=            ${PREFIX}/share/examples/enchant-1.ordering ${PREFIX}/share/enchant/enchant.ordering
 
+# Unsupported in pkgsrc:
+# hspell - Hebrew spelling
+# uspell - Yiddish spelling
+# voikko - Finnish spelling
+#
+# hunspell or aspell can be used for these languages.
+CONFIGURE_ARGS+=       --disable-hspell
+CONFIGURE_ARGS+=       --disable-uspell
+CONFIGURE_ARGS+=       --disable-voikko
+
 post-install:
        cd ${DESTDIR}${PREFIX}/share && ${MV} enchant/enchant.ordering examples/enchant-1.ordering
 
diff -r 87688e92f078 -r 75af8fbb999d textproc/enchant/options.mk
--- a/textproc/enchant/options.mk       Thu Nov 22 13:09:42 2018 +0000
+++ b/textproc/enchant/options.mk       Thu Nov 22 14:56:07 2018 +0000
@@ -1,11 +1,7 @@
-# $NetBSD: options.mk,v 1.6 2018/10/26 17:03:27 bsiegert Exp $
+# $NetBSD: options.mk,v 1.7 2018/11/22 14:56:07 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.enchant
 PKG_SUPPORTED_OPTIONS= aspell enchant-zemberek hunspell ispell
-# Package also supports the following:
-# hspell - Hebrew spelling
-# uspell - Yiddish spelling
-# voikko - Finnish spelling
 PKG_SUGGESTED_OPTIONS= hunspell
 
 .include "../../mk/bsd.options.mk"



Home | Main Index | Thread Index | Old Index