Get rid of the THISHOST variable when building on sparc64. The problem

with it is that it is set by calling hostname and hostname isn't normally
in the path at that point.
This commit is contained in:
Hartmut Brandt 2004-07-08 09:08:09 +00:00
parent 91a7f7c3f1
commit be628d2848

View File

@ -367,10 +367,6 @@ CUR_TIMET!= grep __time_t /usr/include/machine/_types.h | awk '{print $$2}'
SRC_TIMET!= grep __time_t ${.CURDIR}/sys/sparc64/include/_types.h | \
awk '{print $$2}'
NEWSPARC_TIMETYPE?=${CUR_TIMET}
THISHOST!= hostname -s
.if empty(THISHOST)
THISHOST="name not set yet"
.endif
sparc64_installcheck:
.if ${CUR_TIMET} != ${SRC_TIMET}
@ -381,7 +377,7 @@ sparc64_installcheck:
@echo "* Note: This installation changes the type used for time_t."
.endif
@echo "* "
@echo "* This host (${THISHOST}) has time_t defined as ${CUR_TIMET},"
@echo "* This host has time_t defined as ${CUR_TIMET},"
@echo "* and this installation would change that to type ${SRC_TIMET}."
.if ${NEWSPARC_TIMETYPE} != ${SRC_TIMET}
@echo "* "