%n tzcode %v 96j %c * %l * %b * %d * %f * %t tzcode-96j.tgz %w Misc %% %setup patch -u -p1 <<'ENDPATCH' diff -ru2N tzcode-96j/Makefile tzcode-MCC/Makefile --- tzcode-96j/Makefile Tue Jul 30 17:56:41 1996 +++ tzcode-MCC/Makefile Sat Sep 7 01:32:11 1996 @@ -32,5 +32,5 @@ # Everything gets put in subdirectories of. . . -TOPDIR= /usr/local +TOPDIR= /usr # "Compiled" time zone information is placed in the "TZDIR" directory @@ -38,5 +38,5 @@ # Use an absolute path name for TZDIR unless you're just testing the software. -TZDIR= $(TOPDIR)/etc/zoneinfo +TZDIR= $(TOPDIR)/share/zoneinfo # The "zic" and "zdump" commands get installed in. . . @@ -196,5 +196,6 @@ # falls on a Friday, Saturday, or Sunday. -CFLAGS= +CFLAGS = -DHAVE_LONG_DOUBLE=1 -DHAVE_SETTIMEOFDAY=2 -DHAVE_STRERROR=1 \ + -O6 -fomit-frame-pointer ############################################################################### @@ -233,9 +234,15 @@ SHELL= /bin/sh -all: zic zdump $(LIBOBJS) +all: zic zdump ALL: all date -install: all $(DATA) $(REDO) $(TZLIB) $(MANS) +install: all + install -s -m 555 zic zdump /usr/sbin + install -m 444 tzfile.5 /usr/man/man5 + install -m 444 zdump.8 zic.8 /usr/man/man8 + gzip -9f /usr/man/man5/tzfile.5 /usr/man/man8/zdump.8 \ + /usr/man/man8/zic.8 +dummy: all $(DATA) $(REDO) $(TZLIB) $(MANS) ./zic -y $(YEARISTYPE) \ -d $(TZDIR) -l $(LOCALTIME) -p $(POSIXRULES) @@ -263,5 +270,5 @@ $(CC) $(CFLAGS) $(LFLAGS) $(TZDOBJS) $(LDLIBS) -o $@ -zic: $(TZCOBJS) yearistype +zic: $(TZCOBJS) $(CC) $(CFLAGS) $(LFLAGS) $(TZCOBJS) $(LDLIBS) -o $@ ENDPATCH make * make install %%