git: 9f1a51e0e448 - main - textproc/enchant2: update to 2.8.15

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Mon, 16 Mar 2026 22:57:13 UTC
The branch main has been updated by truckman:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9f1a51e0e448d64627566cfbe9d3d1268109824c

commit 9f1a51e0e448d64627566cfbe9d3d1268109824c
Author:     Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2026-03-16 22:50:45 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2026-03-16 22:56:22 +0000

    textproc/enchant2: update to 2.8.15
    
    Update to 2.8.15
    
      This release fixes two bugs related to personal word lists.
    
      First, removing a word that happens to be at the end of a personal word list
      file has not worked since 2.7.0.
    
      Secondly, the way that personal word lists are merged with the current
      session has been changed so that personal word list words now appear in
      suggestions with providers that support adding words to the current session
      (Aspell and Hunspell). This previously worked, but hadn’t since at least
      2.8.2. Thanks to the users and maintainers of jinx (spelling package for
      Emacs that uses Enchant) for reporting and helping reproduce this bug.
    
      A little code clean-up was also done.
    
    Pet portclippy (truckman)
    
    PR:             293194
---
 textproc/enchant2/Makefile | 18 +++++++++---------
 textproc/enchant2/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/textproc/enchant2/Makefile b/textproc/enchant2/Makefile
index dd16a1f520e5..1559101b1dc3 100644
--- a/textproc/enchant2/Makefile
+++ b/textproc/enchant2/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	enchant
-DISTVERSION=	2.8.14
+DISTVERSION=	2.8.15
 CATEGORIES=	textproc gnome
 MASTER_SITES=	https://github.com/rrthomas/${PORTNAME}/releases/download/v${DISTVERSION}/
 PKGNAMESUFFIX=	2
@@ -14,16 +14,18 @@ LICENSE_FILE=	${WRKSRC}/COPYING.LIB
 USES=		compiler:c++11-lib gmake gnome libtool localbase pathfix \
 		pkgconfig
 USE_GNOME=	glib20
-GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--without-applespell \
 		--without-voikko
 
 INSTALL_TARGET=	install-strip
 
+PLIST_SUB+=	LIBVERSION="${PORTVERSION}"
+
+OPTIONS_DEFAULT=HUNSPELL
 OPTIONS_MULTI=	SPELL
 OPTIONS_MULTI_SPELL=ASPELL HSPELL HUNSPELL NUSPELL ZEMBEREK
-OPTIONS_DEFAULT=HUNSPELL
 OPTIONS_SUB=	yes
 HSPELL_DESC=	Spell checking via Hspell
 HUNSPELL_DESC=	Spell checking via Hunspell
@@ -31,28 +33,26 @@ NUSPELL_DESC=	Spell checking via Nuspell
 ZEMBEREK_DESC=	Spell checking via Zemberek
 
 ASPELL_LIB_DEPENDS=	libaspell.so:textproc/aspell
-ASPELL_CONFIGURE_WITH=	aspell
 ASPELL_CONFIGURE_ON=	--with-aspell-dir=${LOCALBASE}/share/aspell
+ASPELL_CONFIGURE_WITH=	aspell
 
 HSPELL_LIB_DEPENDS=	libhspell.so.0:hebrew/hspell
-HSPELL_CONFIGURE_WITH=	hspell
 HSPELL_CONFIGURE_ON=	--with-hspell-dir=${LOCALBASE}/share/hspell
+HSPELL_CONFIGURE_WITH=	hspell
 
 HUNSPELL_LIB_DEPENDS=	libhunspell-1.7.so:textproc/hunspell
-HUNSPELL_CONFIGURE_WITH=	hunspell
 HUNSPELL_CONFIGURE_ON=	--with-hunspell-dir=${LOCALBASE}/share/hunspell
+HUNSPELL_CONFIGURE_WITH=	hunspell
 
 NUSPELL_LIB_DEPENDS=	libicuuc.so:devel/icu \
 			libnuspell.so:textproc/nuspell
-NUSPELL_CONFIGURE_WITH=	nuspell
 NUSPELL_CONFIGURE_ON=	--with-nuspell-dir=${LOCALBASE}/share/hunspell
+NUSPELL_CONFIGURE_WITH=	nuspell
 
 ZEMBEREK_LIB_DEPENDS=	libdbus-1.so:devel/dbus \
 			libdbus-glib-1.so:devel/dbus-glib
 ZEMBEREK_CONFIGURE_WITH=	zemberek
 
-PLIST_SUB+=	LIBVERSION="${PORTVERSION}"
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|groff -mandoc|mandoc -mdoc|' \
 		${WRKSRC}/src/Makefile.in \
diff --git a/textproc/enchant2/distinfo b/textproc/enchant2/distinfo
index 9e0a70eee753..7286a5bd7116 100644
--- a/textproc/enchant2/distinfo
+++ b/textproc/enchant2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1766080680
-SHA256 (enchant-2.8.14.tar.gz) = d04588769399ff7140fa214b9731e6fc6eda9bb2e75df9f67263717710bb4c4b
-SIZE (enchant-2.8.14.tar.gz) = 1271904
+TIMESTAMP = 1771176980
+SHA256 (enchant-2.8.15.tar.gz) = d3fd9e4170bfb5110b0bda577fe764a38fb606b3c25d2f0c3840234521ff1252
+SIZE (enchant-2.8.15.tar.gz) = 1273237