Page MenuHomeFreeBSD

mk: honor TAGS for FILES in default group
ClosedPublic

Authored by ifreund_freebsdfoundation.org on Oct 7 2024, 5:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 30, 2:52 AM
Unknown Object (File)
Sat, Jan 11, 1:25 PM
Unknown Object (File)
Nov 24 2024, 4:36 AM
Unknown Object (File)
Nov 21 2024, 7:21 AM
Unknown Object (File)
Nov 19 2024, 10:24 AM
Unknown Object (File)
Nov 18 2024, 6:00 AM
Unknown Object (File)
Nov 16 2024, 11:08 AM
Unknown Object (File)
Nov 14 2024, 11:50 PM
Subscribers

Details

Summary

Currently the lib32 crt files (/usr/lib32/Scrt1.o etc.) are placed in
the clibs-dev package rather than the clibs-dev-lib32 package.

The /usr/lib32/dtrace/drti.o file is similarly placed in the dtrace
package rather than the dtrace-lib32 package.

Splitting shared libraries in /usr/lib32 into a -lib32 package is
handled in bsd.lib.mk by adding "lib32" to TAGS. However bsd.files.mk
ignores TAGS and only honors ${group}TAGS since 144c442.

This patch changes the behavior of bsd.files.mk to honor TAGS if the
default FILES group is used. This matches the handling of PACKAGE, which
is also ignored unless the default FILES group is used.

With this patch, both the clibs and dtrace package are split correctly.

PR: 249145
Sponsored by: The FreeBSD Foundation

Diff Detail

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