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
Reviewer
emaste
Differential Revision
D42569: pkgbase: set the prefix of debug files and macros to /usr/src
Parents
rGff38a8c780d0: pkgbase: create package with SRCRELDATE not OSRELDATE as OSVERSION
Branches
Unknown
Tags
Unknown