Permalink
Browse files

Officially speaking, the zoneinfo data files are contributed data.

Therefore treat them as such.
  • Loading branch information...
edwin edwin
edwin authored and edwin committed Feb 25, 2010
1 parent 3e17097 commit ff27c1e2a73ede92928386cdeaec2c09b2c16f72
View
@@ -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:
#
Oops, something went wrong.

0 comments on commit ff27c1e

Please sign in to comment.