package/tzdata: drop obosolete, legacy zic option -y
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 10 Jan 2021 18:19:49 +0000 (19:19 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 10 Jan 2021 18:27:56 +0000 (19:27 +0100)
The following commits:
  - 7868289fd534 package/zic: bump version to 2020f
  - c99374ecbb5e package/tzdata: bump version to 2020f

bumped the tzdata from version 2020a to 2020f. However, in 2020b, the
zic option '-y' was removed, and so was the yearistype.sh script [0].

This now spews annoying warnings:

    warning: -y ignored

Fortunately, it still consumes its argument, so the missing yearistype.sh
is simply ignored.

Drop that option.

[0] https://mm.icann.org/pipermail/tz-announce/2020-October/000059.html

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
package/tzdata/tzdata.mk

index 41c4971584b4afecc06afb76c164a7210917ecbb..04f5d84bf061b9275679412ce6b21e3a983cc2a6 100644 (file)
@@ -51,8 +51,8 @@ endef
 define HOST_TZDATA_BUILD_CMDS
        (cd $(@D); \
                for zone in $(TZDATA_ZONELIST); do \
-                       $(ZIC) -d _output/posix -y yearistype.sh $$zone || exit 1; \
-                       $(ZIC) -d _output/right -L leapseconds -y yearistype.sh $$zone || exit 1; \
+                       $(ZIC) -d _output/posix $$zone || exit 1; \
+                       $(ZIC) -d _output/right -L leapseconds $$zone || exit 1; \
                done; \
        )
 endef