freebsd-src/share/syscons
Lexi Winter 1e629ebb15 bsd.files.mk: Fix FILESPACKAGE
Because TAGS may already have a package tag, assigning TAGS to
FILESTAGS causes the value of FILESPACKAGE to be ignored.

Only assign tags other than package, and take the default package from
${PACKAGE}, which matches the behaviour of bsd.confs.mk and bsd.man.mk.

This fixes several files that were wrongly installed in utilities,
including /usr/share/examples/sendmail/mailer.conf and some files
in /usr/share/nls.

The fix trips a bug in share/syscons where Makefile.inc was setting
FILESPACKAGE to the wrong package, but the problem was hidden because
the subdirectories set PACKAGE explicitly.  Fix this by setting the
correct FILESPACKAGE in Makefile.inc and removing the PACKAGEs.

Reviewed by:		manu
Differential Revision:	https://reviews.freebsd.org/D51784
2025-08-07 13:36:59 +01:00
..
fonts bsd.files.mk: Fix FILESPACKAGE 2025-08-07 13:36:59 +01:00
keymaps bsd.files.mk: Fix FILESPACKAGE 2025-08-07 13:36:59 +01:00
scrnmaps bsd.files.mk: Fix FILESPACKAGE 2025-08-07 13:36:59 +01:00
Makefile
Makefile.inc bsd.files.mk: Fix FILESPACKAGE 2025-08-07 13:36:59 +01:00