From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 19 17:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 91A4A688 for ; Fri, 19 Jul 2013 17:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 70C9D81B for ; Fri, 19 Jul 2013 17:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6JHU0mk080140 for ; Fri, 19 Jul 2013 17:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6JHU0Tv080139; Fri, 19 Jul 2013 17:30:00 GMT (envelope-from gnats) Resent-Date: Fri, 19 Jul 2013 17:30:00 GMT Resent-Message-Id: <201307191730.r6JHU0Tv080139@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tijl Coosemans Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D0B28562 for ; Fri, 19 Jul 2013 17:27:15 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay002.isp.belgacom.be (mailrelay002.isp.belgacom.be [195.238.6.175]) by mx1.freebsd.org (Postfix) with ESMTP id 776D57F1 for ; Fri, 19 Jul 2013 17:27:14 +0000 (UTC) Received: from 81.126-242-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.242.126.81]) by relay.skynet.be with ESMTP; 19 Jul 2013 19:27:07 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r6JHR5eF082935 for ; Fri, 19 Jul 2013 19:27:06 +0200 (CEST) (envelope-from tijl@kalimero.tijl.coosemans.org) Received: (from tijl@localhost) by kalimero.tijl.coosemans.org (8.14.7/8.14.7/Submit) id r6JHR5iT082934; Fri, 19 Jul 2013 19:27:05 +0200 (CEST) (envelope-from tijl) Message-Id: <201307191727.r6JHR5iT082934@kalimero.tijl.coosemans.org> Date: Fri, 19 Jul 2013 19:27:05 +0200 (CEST) From: Tijl Coosemans To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/180660: [patch] textproc/enchant: set location of hunspell dictionaries X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Tijl Coosemans List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 17:30:00 -0000 >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: