Change the handling of the leapseconds so that if LEAPSECONDS isn't
defined, it doesn't call zic with -L /dev/null, and instead doesn't use -L at all
This commit is contained in:
parent
e6c267f18c
commit
e265b77bef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12319
@ -1,12 +1,12 @@
|
||||
# $Id: Makefile,v 1.6 1994/09/13 21:54:06 wollman Exp $
|
||||
# $Id: Makefile,v 1.7 1994/09/13 22:02:46 wollman Exp $
|
||||
|
||||
NOBIN=
|
||||
CLEANFILES+= yearistype
|
||||
|
||||
.if defined(LEAPSECONDS)
|
||||
LEAPFILE= leapseconds
|
||||
LEAPFILE= -L leapseconds
|
||||
.else
|
||||
LEAPFILE= /dev/null
|
||||
LEAPFILE=
|
||||
.endif
|
||||
|
||||
TZFILES= africa antarctica asia australasia etcetera europe \
|
||||
@ -33,7 +33,7 @@ yearistype: yearistype.sh
|
||||
afterinstall: yearistype
|
||||
umask 022; cd ${.CURDIR}; \
|
||||
zic -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
|
||||
-L ${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
|
||||
${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
|
||||
chown -R bin.bin ${DESTDIR}/usr/share/zoneinfo/*
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user