Silence make. If /sbin/sysctl is static or non-existent, ldd would return

an error and make complain rather verbosely. Use || true to hide that
error.
This commit is contained in:
joerg 2007-05-18 22:44:32 +00:00
parent 20aab0d59e
commit 536bb58568

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.24 2007/02/22 19:27:02 wiz Exp $
# $NetBSD: Makefile,v 1.25 2007/05/18 22:44:32 joerg Exp $
DISTNAME= libkver-${VERSION}
CATEGORIES= pkgtools
@ -24,7 +24,7 @@ BUILDLINK_PASSTHRU_DIRS= ${BSDSRCDIR}/sys
.include "../../mk/bsd.prefs.mk"
LDD_SYSCTL!= ldd /sbin/sysctl 2>&1
LDD_SYSCTL!= ldd /sbin/sysctl 2>&1 || ${TRUE}
MAKE_ENV+= LDD_SYSCTL=${LDD_SYSCTL:Q} # save another ldd run
.if empty(LDD_SYSCTL:M*libc*)
PLIST_SUBST+= HAS_SYSCTL=