pkgsrc/devel/libtai/options.mk
schmonz 301f462e00 Having leapsecs.dat is helpful for accuracy iff /etc/localtime is TAI,
which is not true of most systems. Add 'tai-system-clock' option, off by
default, that installs leapsecs.dat in ${PKG_SYSCONFDIR} and also
depends on leapsunpack for easy updating by the sysadmin.

Bump PKGREVISION.
2019-01-10 03:12:46 +00:00

11 lines
346 B
Makefile

# $NetBSD: options.mk,v 1.1 2019/01/10 03:12:46 schmonz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libtai
PKG_SUPPORTED_OPTIONS+= tai-system-clock
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mtai-system-clock)
CONF_FILES+= ${EGDIR}/leapsecs.dat ${PKG_SYSCONFDIR}/leapsecs.dat
DEPENDS+= leapsunpack-[0-9]*:../../time/leapsunpack
.endif