diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-11-16 20:31:00 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-11-16 20:31:00 +0000 |
commit | ca6e0e0e353f58f99d95d31c755a10d0d4272272 (patch) | |
tree | b03dc3e9d0d8794561828ec1b4a8ed4b5a03c6f3 /tools | |
parent | 2d8570774c6931fe6094890cbec12450bf43d0df (diff) | |
download | FreeBSD-src-ca6e0e0e353f58f99d95d31c755a10d0d4272272.zip FreeBSD-src-ca6e0e0e353f58f99d95d31c755a10d0d4272272.tar.gz |
Fix error case for bmake to echo 0.
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'tools')
-rw-r--r-- | tools/build/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile index 2617d8d..988ec71 100644 --- a/tools/build/Makefile +++ b/tools/build/Makefile @@ -9,7 +9,7 @@ INCS= BOOTSTRAPPING?= 0 -_WITH_PWCACHEDB!= grep -c pwcache_groupdb /usr/include/grp.h || true +_WITH_PWCACHEDB!= grep -c pwcache_groupdb /usr/include/grp.h 2>/dev/null || echo 0 .if ${_WITH_PWCACHEDB} == 0 .PATH: ${.CURDIR}/../../contrib/libc-pwcache CFLAGS+= -I${.CURDIR}/../../contrib/libc-pwcache \ @@ -17,7 +17,7 @@ CFLAGS+= -I${.CURDIR}/../../contrib/libc-pwcache \ SRCS+= pwcache.c .endif -_WITH_STRSVIS!= grep -c strsvis /usr/include/vis.h || true +_WITH_STRSVIS!= grep -c strsvis /usr/include/vis.h 2>/dev/null || echo 0 .if ${_WITH_STRSVIS} == 0 .PATH: ${.CURDIR}/../../contrib/libc-vis SRCS+= vis.c @@ -25,7 +25,7 @@ CFLAGS+= -I${.CURDIR}/../../contrib/libc-vis \ -I${.CURDIR}/../../lib/libc/include .endif -_WITH_REALLOCARRAY!= grep -c reallocarray /usr/include/stdlib.h || true +_WITH_REALLOCARRAY!= grep -c reallocarray /usr/include/stdlib.h 2>/dev/null || echo 0 .if ${_WITH_REALLOCARRAY} == 0 .PATH: ${.CURDIR}/../../lib/libc/stdlib INCS+= stdlib.h |