aboutsummaryrefslogtreecommitdiff
path: root/share/zoneinfo
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2023-04-21 04:00:17 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2023-04-21 04:00:32 +0000
commit552815b2da6ee05c89e2d77970e0c010cf83d307 (patch)
tree69c50def860873879639bfadca7747c7ee2c6814 /share/zoneinfo
parentca5391bd8579fd404dc31880b4d8744f43d22adb (diff)
Diffstat (limited to 'share/zoneinfo')
-rw-r--r--share/zoneinfo/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile
index 17dce860edae..2e8e0cd53cd2 100644
--- a/share/zoneinfo/Makefile
+++ b/share/zoneinfo/Makefile
@@ -82,11 +82,15 @@ META_TARGETS+= zoneinfo install-zoneinfo
#
ZICFLAGS?= -b fat
+.if ${MK_DIRDEPS_BUILD} == "yes"
+ZIC= ${STAGE_HOST_OBJTOP}/usr/sbin/zic
+.endif
+
zoneinfo: ${TDATA}
mkdir -p ${TZBUILDDIR}
cd ${TZBUILDDIR}; mkdir -p ${TZBUILDSUBDIRS}
umask 022; cd ${.CURDIR}; \
- zic -D -d ${TZBUILDDIR} ${ZICFLAGS} -m ${NOBINMODE} \
+ ${ZIC:Uzic} -D -d ${TZBUILDDIR} ${ZICFLAGS} -m ${NOBINMODE} \
${LEAPFILE} ${TZFILES}
#