mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
1 changed files with 4 additions and 4 deletions
|
|
@ -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 a new issue