Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2004 22:11:21 -0500
From:      Tom McLaughlin <tmclaugh@sdf.lonestar.org>
To:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   editors/AbiWord: missing enchant dependancy
Message-ID:  <1077505881.94362.32.camel@compass>

next in thread | raw e-mail | index | archive | help

--=-TdZriX57oJ+vfUTBI3Ja
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi all,

When AbiWord builds it will use enchant as the spell checking system if
it is installed over aspell.  The attached patch adds a dependency on
textproc/enchant if it is installed to AbiWord.  Not sure if maybe
enchant should become a required dependency for AbiWord since it's the
spell checking system from abisource?  Thanks.

Tom

--=-TdZriX57oJ+vfUTBI3Ja
Content-Disposition: attachment; filename=AbiWord-enchant-dep.diff
Content-Type: text/x-patch; name=AbiWord-enchant-dep.diff; charset=
Content-Transfer-Encoding: 7bit

diff -Nur AbiWord2.old/Makefile AbiWord2/Makefile
--- AbiWord2.old/Makefile	Sat Feb 21 02:34:49 2004
+++ AbiWord2/Makefile	Sun Feb 22 21:13:37 2004
@@ -45,6 +45,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if exists(${LOCALBASE}/lib/libenchant.so)
+LIB_DEPENDS+=enchant.2:${PORTSDIR}/textproc/enchant
+.endif
+
 .if exists(${LOCALBASE}/include/wv.h)
 BROKEN=	"This port cannot be built when textproc/wv is installed because of a header conflict.  Please remove textproc/wv, and resume the build.  If textproc/wv is no longer installed, please remove ${LOCALBASE}/include/wv.h, and resume the AbiWord2 build"
 .endif

--=-TdZriX57oJ+vfUTBI3Ja--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1077505881.94362.32.camel>