HomeFreeBSD

pkgbase: set the prefix of debug files and macros to /usr/src

Description

pkgbase: set the prefix of debug files and macros to /usr/src

When the macro PACKAGE_BUILDING is set, then consider we are building package
for pkgbase, this has already been used in Makefile.inc1 and reuse the
PACKAGE_BUILDING macros already used for that purpose in the ports tree

In the future this should be tied to REPRODUCIBLE_BUILD

MFC After: 3 days
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D42569

(cherry picked from commit 030af1b62d7b9a86f5ecdceff5a1fa23e9570be1)

Details

Provenance
baptAuthored on Nov 13 2023, 5:18 PM
manuCommitted on Dec 2 2023, 9:44 AM
Reviewer
emaste
Differential Revision
D42569: pkgbase: set the prefix of debug files and macros to /usr/src
Parents
rGef60d8076f97: Do not install kernel and modules with executable access bit set
Branches
Unknown
Tags
Unknown