pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/aspell Prepare some code for an aspell-loadab...
details: https://anonhg.NetBSD.org/pkgsrc/rev/176e1ae00d35
branches: trunk
changeset: 507274:176e1ae00d35
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jan 29 22:02:45 2006 +0000
description:
Prepare some code for an aspell-loadable-filter options,
which is not yet enabled because it currently does not work, but this
way it is easier to test.
diffstat:
textproc/aspell/Makefile | 18 +++++++++++++++---
textproc/aspell/PLIST | 15 ++++++++++++++-
2 files changed, 29 insertions(+), 4 deletions(-)
diffs (93 lines):
diff -r f0ccb37507f9 -r 176e1ae00d35 textproc/aspell/Makefile
--- a/textproc/aspell/Makefile Sun Jan 29 21:58:31 2006 +0000
+++ b/textproc/aspell/Makefile Sun Jan 29 22:02:45 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2006/01/06 14:51:19 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2006/01/29 22:02:45 wiz Exp $
#
DISTNAME= aspell-0.60.4
@@ -25,9 +25,21 @@
CONFIGURE_ARGS+= --enable-pkgdatadir=${PREFIX}/share/aspell
CONFIGURE_ARGS+= --enable-dict-dir=${PREFIX}/lib/aspell
-# configure fails to detect dlopen() on NetBSD. Disable dynamic
-# loading of filters until it is fixed.
+# Loadable filter currently don't work on NetBSD, see
+# https://sourceforge.net/tracker/?func=detail&atid=100245&aid=1336865&group_id=245
+# Disable dynamic loading of filters until it is fixed.
+PKG_OPTIONS_VAR= PKG_OPTIONS.aspell
+#PKG_SUPPORTED_OPTIONS= aspell-loadable-filters
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Maspell-loadable-filters)
+CONFIGURE_ARGS+= --disable-compile-in-filters
+PLIST_SUBST+= FILTER=""
+.else
CONFIGURE_ARGS+= --enable-compile-in-filters
+PLIST_SUBST+= FILTER="@comment "
+.endif
REPLACE_PERL= scripts/aspell-import
diff -r f0ccb37507f9 -r 176e1ae00d35 textproc/aspell/PLIST
--- a/textproc/aspell/PLIST Sun Jan 29 21:58:31 2006 +0000
+++ b/textproc/aspell/PLIST Sun Jan 29 22:02:45 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2006/01/06 14:51:19 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2006/01/29 22:02:45 wiz Exp $
bin/aspell
bin/aspell-import
bin/precat
@@ -12,13 +12,19 @@
include/pspell/pspell.h
lib/aspell/ccpp.amf
lib/aspell/comment.amf
+${FILTER}lib/aspell/context-filter.la
+${FILTER}lib/aspell/email-filter.la
lib/aspell/email.amf
lib/aspell/html.amf
lib/aspell/none.amf
+${FILTER}lib/aspell/nroff-filter.la
lib/aspell/nroff.amf
lib/aspell/perl.amf
+${FILTER}lib/aspell/sgml-filter.la
lib/aspell/sgml.amf
+${FILTER}lib/aspell/tex-filter.la
lib/aspell/tex.amf
+${FILTER}lib/aspell/texinfo-filter.la
lib/aspell/texinfo.amf
lib/aspell/url.amf
lib/libaspell.la
@@ -29,6 +35,7 @@
man/man1/pspell-config.1
man/man1/run-with-aspell.1
man/man1/word-list-compress.1
+${FILTER}share/aspell/context-filter.info
share/aspell/cp1250.cmap
share/aspell/cp1250.cset
share/aspell/cp1251.cmap
@@ -48,6 +55,8 @@
share/aspell/cp1258.cmap
share/aspell/cp1258.cset
share/aspell/dvorak.kbd
+${FILTER}share/aspell/email-filter.info
+${FILTER}share/aspell/html-filter.info
share/aspell/iso-8859-1.cmap
share/aspell/iso-8859-1.cset
share/aspell/iso-8859-10.cmap
@@ -83,9 +92,13 @@
share/aspell/koi8-r.cset
share/aspell/koi8-u.cmap
share/aspell/koi8-u.cset
+${FILTER}share/aspell/nroff-filter.info
+${FILTER}share/aspell/sgml-filter.info
share/aspell/spell
share/aspell/split.kbd
share/aspell/standard.kbd
+${FILTER}share/aspell/tex-filter.info
+${FILTER}share/aspell/texinfo-filter.info
@dirrm share/aspell
@dirrm lib/aspell
@dirrm include/pspell
Home |
Main Index |
Thread Index |
Old Index