Date: Fri, 19 Jul 2013 19:27:05 +0200 (CEST) From: Tijl Coosemans <tijl@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/180660: [patch] textproc/enchant: set location of hunspell dictionaries Message-ID: <201307191727.r6JHR5iT082934@kalimero.tijl.coosemans.org> Resent-Message-ID: <201307191730.r6JHU0Tv080139@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 180660 >Category: ports >Synopsis: [patch] textproc/enchant: set location of hunspell dictionaries >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 19 17:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Tijl Coosemans >Release: FreeBSD 10.0-CURRENT i386 >Organization: >Environment: >Description: The hunspell backend is currently broken because it looks for dictionaries in the wrong location. The attached patch adds --with-myspell-dir to CONFIGURE_ARGS. It also adds --with-system-myspell to prevent accidental use of the internal version. Also, I suggest making hunspell the default backend because that's what applications like OpenOffice, LibreOffice, Firefox, Thunderbird,... use. >How-To-Repeat: >Fix: --- enchant.patch begins here --- Index: textproc/enchant/Makefile =================================================================== --- textproc/enchant/Makefile (revision 323274) +++ textproc/enchant/Makefile (working copy) @@ -4,7 +4,7 @@ PORTNAME= enchant PORTVERSION= 1.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc gnome MASTER_SITES= http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/ DIST_SUBDIR= gnome2 @@ -55,7 +55,8 @@ PLIST_SUB+= HSPELL="@comment " .if ${PORT_OPTIONS:MHUNSPELL} LIB_DEPENDS+= hunspell-1.3:${PORTSDIR}/textproc/hunspell -CONFIGURE_ARGS+=--enable-myspell +CONFIGURE_ARGS+=--enable-myspell --with-system-myspell \ + --with-myspell-dir=${LOCALBASE}/share/hunspell PLIST_SUB+= HUNSPELL="" .else CONFIGURE_ARGS+=--disable-myspell --- enchant.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307191727.r6JHR5iT082934>