diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -729,7 +729,7 @@ config -m ${KERNSRCDIR}/${TARGET}/conf/${kernel} 2> /dev/null | \ grep -v WARNING: | cut -f 2 .if empty(TARGET_ARCH_${kernel}) -.error "Target architecture for ${TARGET}/conf/${kernel} unknown. config(8) likely too old." +.error Target architecture for ${TARGET}/conf/${kernel} unknown. config(8) likely too old. .endif universe_kernconfs_${TARGET_ARCH_${kernel}}: universe_kernconf_${TARGET}_${kernel} universe_kernconf_${TARGET}_${kernel}: .MAKE diff --git a/Makefile.inc1 b/Makefile.inc1 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -49,7 +49,7 @@ # obj depend all install clean cleandepend cleanobj .if !defined(TARGET) || !defined(TARGET_ARCH) -.error "Both TARGET and TARGET_ARCH must be defined." +.error Both TARGET and TARGET_ARCH must be defined. .endif .if make(showconfig) || make(test-system-*) @@ -167,7 +167,7 @@ .if ${.MAKE.OS} != "FreeBSD" CROSSBUILD_HOST=${.MAKE.OS} .if ${.MAKE.OS} != "Linux" && ${.MAKE.OS} != "Darwin" -.warning "Unsupported crossbuild system: ${.MAKE.OS}. Build will probably fail!" +.warning Unsupported crossbuild system: ${.MAKE.OS}. Build will probably fail! .endif # We need to force NO_ROOT/DB_FROM_SRC builds when building on other operating # systems since the BSD.foo.dist specs contain users and groups that do not diff --git a/lib/Makefile b/lib/Makefile --- a/lib/Makefile +++ b/lib/Makefile @@ -187,7 +187,7 @@ ${MACHINE_CPUARCH} == "powerpc") _libclang_rt= libclang_rt .elif (${MK_ASAN} != "no" || ${MK_UBSAN} != "no") && make(all) -.error "Requested build with sanitizers but cannot build runtime libraries!" +.error Requested build with sanitizers but cannot build runtime libraries! .endif .if ${MK_CXX} != "no" diff --git a/lib/libc/tests/net/getaddrinfo/Makefile b/lib/libc/tests/net/getaddrinfo/Makefile --- a/lib/libc/tests/net/getaddrinfo/Makefile +++ b/lib/libc/tests/net/getaddrinfo/Makefile @@ -8,7 +8,7 @@ BINDIR= ${TESTSDIR} -.error "This testcase needs to be ported to FreeBSD (the output from getaddrinfo_test differs from NetBSD)" +.error This testcase needs to be ported to FreeBSD (the output from getaddrinfo_test differs from NetBSD) NETBSD_ATF_TESTS_SH= getaddrinfo_test diff --git a/lib/libc/tests/ssp/Makefile b/lib/libc/tests/ssp/Makefile --- a/lib/libc/tests/ssp/Makefile +++ b/lib/libc/tests/ssp/Makefile @@ -38,7 +38,7 @@ LDADD.h_raw+= ${SANITIZER_LDFLAGS} .else .if make(all) -.info "Could not find runtime library ${_libclang_rt_ubsan}, skipping h_raw" +.info Could not find runtime library ${_libclang_rt_ubsan}, skipping h_raw .endif .endif .endif diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile --- a/share/zoneinfo/Makefile +++ b/share/zoneinfo/Makefile @@ -39,7 +39,7 @@ .PATH: ${CONTRIBDIR} .if defined(LEAPSECONDS) -.warning "Using backwards compatibility variable for LEAPSECONDS; please use WITH_ZONEINFO_LEAPSECONDS_SUPPORT instead" +.warning Using backwards compatibility variable for LEAPSECONDS; please use WITH_ZONEINFO_LEAPSECONDS_SUPPORT instead MK_ZONEINFO_LEAPSECONDS_SUPPORT= yes .endif diff --git a/stand/i386/Makefile.inc b/stand/i386/Makefile.inc --- a/stand/i386/Makefile.inc +++ b/stand/i386/Makefile.inc @@ -35,7 +35,7 @@ .if defined(LOADER_FIREWIRE_SUPPORT) MK_LOADER_FIREWIRE=yes -.warning "LOADER_FIREWIRE_SUPPORT deprecated, please move to WITH_LOADER_FIREWIRE" +.warning LOADER_FIREWIRE_SUPPORT deprecated, please move to WITH_LOADER_FIREWIRE .endif .include "../Makefile.inc" diff --git a/tools/build/Makefile b/tools/build/Makefile --- a/tools/build/Makefile +++ b/tools/build/Makefile @@ -34,7 +34,7 @@ .endif HOST_INCLUDE_ROOT=${_MACOS_SDK_DIR}/usr/include .if !exists(${HOST_INCLUDE_ROOT}/stdio.h) -.error "You must install the macOS SDK (try xcode-select --install)" +.error You must install the macOS SDK (try xcode-select --install) .endif .else HOST_INCLUDE_ROOT=/usr/include diff --git a/tools/build/mk/Makefile.boot b/tools/build/mk/Makefile.boot --- a/tools/build/mk/Makefile.boot +++ b/tools/build/mk/Makefile.boot @@ -65,7 +65,7 @@ # MacOS ships /usr/lib/libarchive.dylib but doesn't provide the headers CFLAGS+= -idirafter ${SRCTOP}/contrib/libarchive/libarchive .else -.error "Unsupported build OS: ${.MAKE.OS}" +.error Unsupported build OS: ${.MAKE.OS} .endif .endif # ${.MAKE.OS} != "FreeBSD" diff --git a/usr.bin/mandoc/Makefile b/usr.bin/mandoc/Makefile --- a/usr.bin/mandoc/Makefile +++ b/usr.bin/mandoc/Makefile @@ -15,7 +15,7 @@ ${BINDIR}/mandoc ${BINDIR}/makewhatis \ ${BINDIR}/mandoc ${BINDIR}/apropos .elif defined(BOOTSTRAPPING) -.error "MK_MAN_UTILS should be set to yes when bootstrapping" +.error MK_MAN_UTILS should be set to yes when bootstrapping .endif LIBMAN_SRCS= man.c \