summaryrefslogtreecommitdiffstats
path: root/share/zoneinfo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'share/zoneinfo/Makefile')
-rw-r--r--share/zoneinfo/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile
index 6bbc989..6de8ef5 100644
--- a/share/zoneinfo/Makefile
+++ b/share/zoneinfo/Makefile
@@ -29,6 +29,8 @@
#
CLEANFILES+= yearistype
+CONTRIBDIR= ${.CURDIR}/../../contrib/tzdata/
+.PATH: ${CONTRIBDIR}
.if defined(LEAPSECONDS)
LEAPFILE= -L leapseconds
@@ -44,6 +46,8 @@ POSIXRULES= America/New_York
TZFILES+= backward systemv
.endif
+TZFILES:= ${TZFILES:S/^/${CONTRIBDIR}/}
+
all: yearistype
beforeinstall:
@@ -52,7 +56,7 @@ beforeinstall:
-u ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
- ${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
+ ${CONTRIBDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
afterinstall:
#
OpenPOWER on IntegriCloud