diff3: Move to own package

diff3 is the last remaining GPL-licensed userland component.  Move it
to its own package, so that it may be excluded if desired.

Reviewed by:	ivy
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52810
This commit is contained in:
Ed Maste 2025-10-01 05:28:56 -04:00
parent bdb205c53e
commit e7258c4252
2 changed files with 17 additions and 1 deletions

View file

@ -1,8 +1,9 @@
PACKAGE= diff3
DIFFSRC=${SRCTOP}/contrib/diff/src
.PATH: ${DIFFSRC} \
${SRCTOP}/contrib/diff/lib \
${SRCTOP}/contrib/diff/man
PROG= diff3
SRCS= diff3.c version-etc.c \
xmalloc.c error.c c-stack.c exitfail.c cmpbuf.c

View file

@ -0,0 +1,15 @@
/*
* SPDX-License-Identifier: ISC
*/
comment = "GNU 3-way file comparison and merge utility"
desc = <<EOD
Compares three files line by line, optionally merging them.
EOD
licenses = [ "GPL-2.0-or-later" ]
annotations {
set = "optional,optional-jail"
}