Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115840810
D38195.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D38195.diff
View Options
diff --git a/Makefile.inc1 b/Makefile.inc1
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1319,10 +1319,6 @@
#
# Required install tools to be saved in a scratch dir for safety.
#
-.if ${MK_ZONEINFO} != "no"
-_zoneinfo= zic tzsetup
-.endif
-
.if !defined(CROSSBUILD_HOST)
_sysctl=sysctl
.endif
@@ -1330,14 +1326,19 @@
ITOOLS= [ awk cap_mkdb cat chflags chmod chown cmp cp \
date echo egrep find grep id install ${_install-info} \
ln make mkdir mtree mv pwd_mkdb \
- rm sed services_mkdb sh sort strip ${_sysctl} test time true uname wc \
- ${_zoneinfo} ${LOCAL_ITOOLS}
+ rm sed services_mkdb sh sort strip ${_sysctl} test time true uname wc
+
+.if ${MK_ZONEINFO} != "no"
+ITOOLS+=tzsetup
+.endif
# Needed for share/man
.if ${MK_MAN_UTILS} != "no"
ITOOLS+=makewhatis
.endif
+ITOOLS+=${LOCAL_ITOOLS}
+
#
# distributeworld
#
@@ -2238,6 +2239,11 @@
# C source for loader built in font (8x16.c).
_vtfontcvt= usr.bin/vtfontcvt
+# zic is used to compile timezone data
+.if ${MK_ZONEINFO} != "no"
+_zic= usr.sbin/zic
+.endif
+
# If we are not building the bootstrap because BOOTSTRAPPING is sufficient
# we symlink the host version to $WORLDTMP instead. By doing this we can also
# detect when a bootstrap tool is being used without the required MK_FOO.
@@ -2440,10 +2446,6 @@
_basic_bootstrap_tools+=sbin/md5
.endif
-.if ${MK_ZONEINFO} != "no"
-_basic_bootstrap_tools+=usr.sbin/zic usr.sbin/tzsetup
-.endif
-
.if defined(BOOTSTRAP_ALL_TOOLS)
_other_bootstrap_tools+=${_basic_bootstrap_tools}
.for _subdir _links in ${_basic_bootstrap_tools_multilink}
@@ -2528,6 +2530,7 @@
${_localedef} \
${_mkcsmapper} \
${_mkesdb} \
+ ${_zic} \
${LOCAL_BSTOOL_DIRS}
${_bt}-${_tool}: ${_bt}-links .PHONY .MAKE
${_+_}@${ECHODIR} "===> ${_tool} (obj,all,install)"; \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 30, 10:07 AM (8 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17855849
Default Alt Text
D38195.diff (1 KB)
Attached To
Mode
D38195: Fix cross-build from STABLE or older CURRENT.
Attached
Detach File
Event Timeline
Log In to Comment