HomeFreeBSD

Mk/bsd.port.mk: Pass CSTD/CXXSTD in MAKE_ENV

Description

Mk/bsd.port.mk: Pass CSTD/CXXSTD in MAKE_ENV

For ports which use bsd.*.mk in their build, the existing USE_CSTD
logic which patches CFLAGS and CXXFLAGS is insufficient since
bsd.sys.mk will add the default CSTD/CXXSTD later in CFLAGS/CXXFLAGS.
Presumably no ports are using USE_CSTD with bsd.*.mk, but at least one
does use USE_CXXSTD with bsd.*.mk which will break when src starts
defining a default CXXSTD.

PR: 285141
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D49597

Details

Provenance
jhbAuthored on Fri, Apr 11, 1:51 PM
Reviewer
bapt
Differential Revision
D49597: Mk/bsd.port.mk: Pass CSTD/CXXSTD in MAKE_ENV
Parents
R11:17a697259404: ports-mgmt/portlint: Update to 2.22.8
Branches
Unknown
Tags
Unknown