]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Formalize LEAPSECONDS and OLDTIMEZONES in share/zoneinfo/... as
authorEnji Cooper <ngie@FreeBSD.org>
Thu, 6 Jul 2017 04:19:33 +0000 (04:19 +0000)
committerEnji Cooper <ngie@FreeBSD.org>
Thu, 6 Jul 2017 04:19:33 +0000 (04:19 +0000)
commitc5cba0607997688e78928c6844e8f902f336af27
tree4276ff0296435bb43eadc15513a0cb04360ab716
parent01df7d10a5af251d6f03fcd04bf84142b9282000
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]