tzcode: Update to 2018b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
--- src/Makefile.orig 2014-08-29 04:32:04.000000000 +0900
|
||||
+++ src/Makefile 2014-09-09 12:55:02.881446900 +0900
|
||||
--- src/Makefile.orig 2018-01-17 18:05:36.000000000 +0900
|
||||
+++ src/Makefile 2018-01-19 17:58:12.857248200 +0900
|
||||
@@ -19,7 +19,7 @@
|
||||
# make zonenames
|
||||
# to get a list of the values you can use for LOCALTIME.
|
||||
@@ -9,51 +9,26 @@
|
||||
|
||||
# If you want something other than Eastern United States time as a template
|
||||
# for handling POSIX-style time zone environment variables,
|
||||
@@ -44,21 +44,21 @@
|
||||
@@ -88,7 +88,7 @@
|
||||
ZDUMPDIR = $(BINDIR)
|
||||
|
||||
# Everything gets put in subdirectories of. . .
|
||||
|
||||
-TOPDIR= /usr/local
|
||||
+TOPDIR= /usr
|
||||
|
||||
# "Compiled" time zone information is placed in the "TZDIR" directory
|
||||
# (and subdirectories).
|
||||
# Use an absolute path name for TZDIR unless you're just testing the software.
|
||||
|
||||
TZDIR_BASENAME= zoneinfo
|
||||
-TZDIR= $(TOPDIR)/etc/$(TZDIR_BASENAME)
|
||||
+TZDIR= $(TOPDIR)/share/$(TZDIR_BASENAME)
|
||||
|
||||
# Types to try, as an alternative to time_t. int64_t should be first.
|
||||
TIME_T_ALTERNATIVES= int64_t int32_t uint32_t uint64_t
|
||||
|
||||
# The "tzselect", "zic", and "zdump" commands get installed in. . .
|
||||
|
||||
-ETCDIR= $(TOPDIR)/etc
|
||||
+ETCDIR= $(TOPDIR)/bin
|
||||
|
||||
# If you "make INSTALL", the "date" command gets installed in. . .
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
# The "zic" command goes in:
|
||||
-ZICDIR = $(TOPDIR)/$(USRDIR)/sbin
|
||||
+ZICDIR = $(TOPDIR)/$(USRDIR)/bin
|
||||
|
||||
# Manual pages go in subdirectories of. . .
|
||||
|
||||
-MANDIR= $(TOPDIR)/man
|
||||
+MANDIR= $(TOPDIR)/share/man
|
||||
|
||||
# Library functions are put in an archive in LIBDIR.
|
||||
|
||||
@@ -233,7 +233,7 @@
|
||||
# before the first Monday in January when a "%V" format is used and January 1
|
||||
MANDIR = $(TOPDIR)/$(USRSHAREDIR)/man
|
||||
@@ -322,7 +322,7 @@
|
||||
# January's first Monday when a "%V" format is used and January 1
|
||||
# falls on a Friday, Saturday, or Sunday.
|
||||
|
||||
-CFLAGS=
|
||||
+CFLAGS+= -DHAVE_ADJTIME=0
|
||||
|
||||
# Linker flags. Default to $(LFLAGS) for backwards compatibility
|
||||
# to tzcode2012h and earlier.
|
||||
@@ -246,7 +246,7 @@
|
||||
ZFLAGS=
|
||||
# to release 2012h and earlier.
|
||||
@@ -346,7 +346,7 @@
|
||||
ZIC_INSTALL= $(ZIC) -d '$(DESTDIR)$(TZDIR)' $(LEAPSECONDS)
|
||||
|
||||
# The name of a Posix-compliant 'awk' on your system.
|
||||
-AWK= awk
|
||||
@@ -61,12 +36,12 @@
|
||||
|
||||
# The full path name of a Posix-compliant shell, preferably one that supports
|
||||
# the Korn shell's 'select' statement as an extension.
|
||||
@@ -321,7 +321,7 @@
|
||||
@@ -425,7 +425,7 @@
|
||||
|
||||
###############################################################################
|
||||
#MAKE= make
|
||||
|
||||
-cc= cc
|
||||
+cc= gcc
|
||||
CC= $(cc) -DTZDIR=\"$(TZDIR)\"
|
||||
CC= $(cc) -DTZDIR='"$(TZDIR)"'
|
||||
|
||||
AR= ar
|
||||
|
||||
Reference in New Issue
Block a user