]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Formalize LEAPSECONDS and OLDTIMEZONES in share/zoneinfo/... as
authorngie <ngie@FreeBSD.org>
Thu, 6 Jul 2017 04:19:33 +0000 (04:19 +0000)
committerngie <ngie@FreeBSD.org>
Thu, 6 Jul 2017 04:19:33 +0000 (04:19 +0000)
commita448519a3c55aad6cd25485f81b10aeac8f09123
tree4276ff0296435bb43eadc15513a0cb04360ab716
parentcc70d384931f5ce2609344b5d58ef7a3a2d766b2
Formalize LEAPSECONDS and OLDTIMEZONES in share/zoneinfo/... as
`MK_ZONEINFO_LEAPSECONDS_SUPPORT == yes` and
`MK_ZONEINFO_OLD_TIMEZONES_SUPPORT == yes`.

Keep `LEAPSECONDS` and `OLDTIMEZONES` for backwards compatibility,
but print out a warning notifying users that they should use the new
variables, in an effort to migrate them to the variables. This is being
done mostly for automated build tools, etc, that might rely on these
variables being set. The variables will be removed in the future on
^/head, e.g., after ^/stable/12 is cut.

MFC after:      1 month
Relnotes:       yes
Reviewed by: bdrewery
Differential Revision: D11376
share/mk/src.opts.mk
share/zoneinfo/Makefile
tools/build/options/WITH_ZONEINFO_LEAPSECONDS_SUPPORT [new file with mode: 0644]
tools/build/options/WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT [new file with mode: 0644]