X-Git-Url: http://gitweb/?a=blobdiff_plain;f=tzdata%2Fzic_host-makefile.patch;h=f18fcf2260a821d56f9c0cb959158dd30f5b7258;hb=b75588478335dd0f6a0069b25165ac20feb98df0;hp=a3ae1625d2d22798f09831df2cdbfc8d16d12d72;hpb=6214a1c83f5300e06961487b7c208ec6553ccfbb;p=crossrootfs.git diff --git a/tzdata/zic_host-makefile.patch b/tzdata/zic_host-makefile.patch index a3ae162..f18fcf2 100644 --- a/tzdata/zic_host-makefile.patch +++ b/tzdata/zic_host-makefile.patch @@ -1,46 +1,29 @@ ---- Makefile.orig 2012-10-15 16:32:13.248683438 +0000 -+++ Makefile 2012-10-15 16:33:33.324686164 +0000 -@@ -219,8 +219,8 @@ - # If you want zic's -s option used when installing, uncomment the next line - # ZFLAGS= -s +--- src.orig/Makefile 2018-05-09 22:44:57.787104123 +0000 ++++ src/Makefile 2018-05-09 22:47:08.227103096 +0000 +@@ -350,14 +350,14 @@ + + # The zic command and its arguments. -zic= ./zic -ZIC= $(zic) $(ZFLAGS) -+ZIC_HOST= ./zic_host -+ZIC= $(ZIC_HOST) $(ZFLAGS) - - # The name of a Posix-compliant `awk' on your system. - AWK= awk -@@ -301,7 +301,7 @@ - ALL: all date ++zic= ./zic_host ++ZIC_HOST= $(zic) $(ZFLAGS) - install: all $(DATA) $(REDO) $(MANS) $(TABDATA) -- $(ZIC) -y $(YEARISTYPE) \ -+ $(ZIC_HOST) -y $(YEARISTYPE) \ - -d $(TZDIR) -l $(LOCALTIME) -p $(POSIXRULES) - -rm -f $(TZDIR)/iso3166.tab $(TZDIR)/zone.tab - cp iso3166.tab zone.tab $(TZDIR)/. -@@ -341,10 +341,10 @@ - chmod +x yearistype + ZFLAGS= - posix_only: zic $(TDATA) -- $(ZIC) -y $(YEARISTYPE) -d $(TZDIR) -L /dev/null $(TDATA) -+ $(ZIC_HOST) -y $(YEARISTYPE) -d $(TZDIR) -L /dev/null $(TDATA) + # How to use zic to install tz binary files. - right_only: zic leapseconds $(TDATA) -- $(ZIC) -y $(YEARISTYPE) -d $(TZDIR) -L leapseconds $(TDATA) -+ $(ZIC_HOST) -y $(YEARISTYPE) -d $(TZDIR) -L leapseconds $(TDATA) +-ZIC_INSTALL= $(ZIC) -d '$(DESTDIR)$(TZDIR)' $(LEAPSECONDS) ++ZIC_INSTALL= $(ZIC_HOST) -d '$(DESTDIR)$(TZDIR)' $(LEAPSECONDS) - # In earlier versions of this makefile, the other two directories were - # subdirectories of $(TZDIR). However, this led to configuration errors. -@@ -356,8 +356,8 @@ - # You must replace all of $(TZDIR) to switch from not using leap seconds - # to using them, or vice versa. - other_two: zic leapseconds $(TDATA) -- $(ZIC) -y $(YEARISTYPE) -d $(TZDIR)/posix -L /dev/null $(TDATA) -- $(ZIC) -y $(YEARISTYPE) \ -+ $(ZIC_HOST) -y $(YEARISTYPE) -d $(TZDIR)/posix -L /dev/null $(TDATA) -+ $(ZIC_HOST) -y $(YEARISTYPE) \ - -d $(TZDIR)/right -L leapseconds $(TDATA) + # The name of a Posix-compliant 'awk' on your system. + AWK= awk +@@ -600,7 +600,7 @@ + TZDEFAULT='$(TZDEFAULT)' \ + TZDIR='$(TZDIR)' \ + YEARISTYPE='$(YEARISTYPE)' \ +- ZIC='$(ZIC)' ++ ZIC='$(ZIC_HOST)' - posix_right: posix_only other_two \ No newline at end of file + # 'make install_data' installs one set of tz binary files. + install_data: zic leapseconds yearistype tzdata.zi