Page MenuHomeFreeBSD

bsd.files.mk: Fix FILESPACKAGE
ClosedPublic

Authored by ivy on Aug 7 2025, 7:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 26, 8:15 PM
Unknown Object (File)
Tue, Aug 26, 3:39 PM
Unknown Object (File)
Tue, Aug 26, 2:58 PM
Unknown Object (File)
Tue, Aug 26, 2:23 PM
Unknown Object (File)
Tue, Aug 26, 1:43 AM
Unknown Object (File)
Mon, Aug 25, 9:51 AM
Unknown Object (File)
Sat, Aug 23, 10:53 PM
Unknown Object (File)
Sat, Aug 23, 2:35 PM

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable