ports/180660: [patch] textproc/enchant: set location of hunspell dictionaries
Tijl Coosemans
tijl at FreeBSD.org
Fri Jul 19 17:30:00 UTC 2013
>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:
More information about the freebsd-ports-bugs
mailing list