pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libtai
Module Name: pkgsrc
Committed By: schmonz
Date: Thu Jan 10 03:12:47 UTC 2019
Modified Files:
pkgsrc/devel/libtai: Makefile
Added Files:
pkgsrc/devel/libtai: options.mk
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/libtai/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libtai/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/libtai/Makefile
diff -u pkgsrc/devel/libtai/Makefile:1.15 pkgsrc/devel/libtai/Makefile:1.16
--- pkgsrc/devel/libtai/Makefile:1.15 Tue Jan 8 03:57:11 2019
+++ pkgsrc/devel/libtai/Makefile Thu Jan 10 03:12:46 2019
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2019/01/08 03:57:11 schmonz Exp $
+# $NetBSD: Makefile,v 1.16 2019/01/10 03:12:46 schmonz Exp $
#
DISTNAME= libtai-0.60
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= devel
MASTER_SITES= http://cr.yp.to/libtai/
@@ -16,14 +16,13 @@ CONFLICTS= libowfat-[0-9]*
DJB_RESTRICTED= NO
EGDIR= share/examples/${PKGBASE}
-CONF_FILES+= ${EGDIR}/leapsecs.dat ${PKG_SYSCONFDIR}/leapsecs.dat
SUBST_FILES.djbware+= leapsecs_read.c
SUBST_CLASSES+= paths
SUBST_STAGE.paths= do-configure
SUBST_FILES.paths= leapsecs.3 leapsecs_read.c
-SUBST_SED.paths= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR:Q},g'
+SUBST_VARS.paths= PKG_SYSCONFDIR
INSTALLATION_DIRS= bin include lib ${EGDIR}
INSTALLATION_DIRS+= ${PKGMANDIR}/man3
Added files:
Index: pkgsrc/devel/libtai/options.mk
diff -u /dev/null pkgsrc/devel/libtai/options.mk:1.1
--- /dev/null Thu Jan 10 03:12:47 2019
+++ pkgsrc/devel/libtai/options.mk Thu Jan 10 03:12:46 2019
@@ -0,0 +1,11 @@
+# $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
Home |
Main Index |
Thread Index |
Old Index