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:
parent
20aab0d59e
commit
536bb58568
1 changed files with 2 additions and 2 deletions
|
@ -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=
|
||||
|
|
Loading…
Reference in a new issue