Please consider adding CONFLICTS_INSTALL Thanks. root@mowa219-gjp4-8570p-freebsd:~ # pkg install --no-repo-update -n bsd-spell Checking integrity... done (1 conflicting) - bsd-spell-1.0.1 [FreeBSD] conflicts with aspell-ispell-0.60.8 [installed] on /usr/local/bin/spell Checking integrity... done (0 conflicting) The following 5 package(s) will be affected (of 0 checked): Installed packages to be REMOVED: aspell-ispell: 0.60.8 tin: 2.6.2_1 New packages to be INSTALLED: bsd-spell: 1.0.1 [FreeBSD] Installed packages to be REINSTALLED: ebook-tools-0.2.2_8 [FreeBSD] gcc12-12.2.0_6 [FreeBSD] Number of packages to be removed: 2 Number of packages to be installed: 1 Number of packages to be reinstalled: 2 The operation will free 2 MiB. 88 MiB to be downloaded. root@mowa219-gjp4-8570p-freebsd:~ #
I have a look at it.
I created a differential for just installing bsd-spell simply as bspell.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bb1f23aa2db1e409fe2538f2895dd1d2de6ef790 commit bb1f23aa2db1e409fe2538f2895dd1d2de6ef790 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2023-12-19 11:40:06 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2023-12-19 11:40:06 +0000 bsd-spell: Install as bspell instead of spell Install bsd-spell as bspell instead of spell since it otherwise conflicts with textproc/aspell-ispell. While here switch to pkg-plist for the pkg content listing. PR: 274217 Reviewed by: fernape Tested by: fernape Approved by: fernape Differential Revision: https://reviews.freebsd.org/D43083 textproc/bsd-spell/Makefile | 11 ++--------- textproc/bsd-spell/pkg-plist (new) | 10 ++++++++++ 2 files changed, 12 insertions(+), 9 deletions(-)