svn commit: r360214 - in stable/12: etc/mtree share/mk share/zoneinfo share/zoneinfo/tests
Xin LI
delphij at FreeBSD.org
Thu Apr 23 04:27:57 UTC 2020
Author: delphij
Date: Thu Apr 23 04:27:55 2020
New Revision: 360214
URL: https://svnweb.freebsd.org/changeset/base/360214
Log:
MFC r359736: Always install backward compatibility timezones, as they
are installed on all major Linux distributions as well as NetBSD and
OpenBSD.
Modified:
stable/12/etc/mtree/BSD.usr.dist
stable/12/share/mk/src.opts.mk
stable/12/share/zoneinfo/Makefile
stable/12/share/zoneinfo/tests/Makefile
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/etc/mtree/BSD.usr.dist
==============================================================================
--- stable/12/etc/mtree/BSD.usr.dist Thu Apr 23 03:46:41 2020 (r360213)
+++ stable/12/etc/mtree/BSD.usr.dist Thu Apr 23 04:27:55 2020 (r360214)
@@ -1253,15 +1253,25 @@
..
Australia
..
+ Brazil
+ ..
+ Canada
+ ..
+ Chile
+ ..
Etc
..
Europe
..
Indian
..
+ Mexico
+ ..
Pacific
..
SystemV
+ ..
+ US
..
..
..
Modified: stable/12/share/mk/src.opts.mk
==============================================================================
--- stable/12/share/mk/src.opts.mk Thu Apr 23 03:46:41 2020 (r360213)
+++ stable/12/share/mk/src.opts.mk Thu Apr 23 04:27:55 2020 (r360214)
@@ -214,7 +214,6 @@ __DEFAULT_NO_OPTIONS = \
SORT_THREADS \
SVN \
ZONEINFO_LEAPSECONDS_SUPPORT \
- ZONEINFO_OLD_TIMEZONES_SUPPORT \
# LEFT/RIGHT. Left options which default to "yes" unless their corresponding
# RIGHT option is disabled.
@@ -535,7 +534,6 @@ MK_GOOGLETEST:= no
.if ${MK_ZONEINFO} == "no"
MK_ZONEINFO_LEAPSECONDS_SUPPORT:= no
-MK_ZONEINFO_OLD_TIMEZONES_SUPPORT:= no
.endif
.if ${MK_CROSS_COMPILER} == "no"
Modified: stable/12/share/zoneinfo/Makefile
==============================================================================
--- stable/12/share/zoneinfo/Makefile Thu Apr 23 03:46:41 2020 (r360213)
+++ stable/12/share/zoneinfo/Makefile Thu Apr 23 04:27:55 2020 (r360214)
@@ -40,11 +40,6 @@ CONTRIBDIR= ${SRCTOP}/contrib/tzdata/
MK_ZONEINFO_LEAPSECONDS_SUPPORT= yes
.endif
-.if defined(OLDTIMEZONES)
-.warning "Using backwards compatibility variable for OLDTIMEZONES; please use WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT instead"
-MK_ZONEINFO_OLD_TIMEZONES_SUPPORT= yes
-.endif
-
.if ${MK_ZONEINFO_LEAPSECONDS_SUPPORT} != "no"
LEAPFILE= -L ${CONTRIBDIR}leapseconds
.else
@@ -53,12 +48,9 @@ LEAPFILE=
TZFILES= africa antarctica asia australasia etcetera europe \
factory northamerica southamerica
+TZFILES+= backward systemv
POSIXRULES= America/New_York
-.if ${MK_ZONEINFO_OLD_TIMEZONES_SUPPORT} != "no"
-TZFILES+= backward systemv
-.endif
-
TZFILES:= ${TZFILES:S/^/${CONTRIBDIR}/}
TZBUILDDIR= ${.OBJDIR}/builddir
@@ -78,10 +70,7 @@ TZBUILDSUBDIRS= \
Indian \
Pacific \
SystemV
-
-.if ${MK_ZONEINFO_OLD_TIMEZONES_SUPPORT} != "no"
TZBUILDSUBDIRS+= US Mexico Chile Canada Brazil
-.endif
.if !defined(_SKIP_BUILD)
all: zoneinfo
Modified: stable/12/share/zoneinfo/tests/Makefile
==============================================================================
--- stable/12/share/zoneinfo/tests/Makefile Thu Apr 23 03:46:41 2020 (r360213)
+++ stable/12/share/zoneinfo/tests/Makefile Thu Apr 23 04:27:55 2020 (r360214)
@@ -8,10 +8,8 @@ PACKAGE= tests
FILESGROUPS+= TESTFILES
-.if ${MK_ZONEINFO_OLD_TIMEZONES_SUPPORT} != "no"
ATF_TESTS_SH+= backward_test
TESTFILES+= backward
-.endif
TESTFILES+= zoneinfo_common.sh
TESTFILESPACKAGE= ${PACKAGE}
More information about the svn-src-stable
mailing list