summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2007-05-18 22:44:32 +0000
committerjoerg <joerg>2007-05-18 22:44:32 +0000
commit68c2cebdd9a88feec91fe637c42ba060bd871bb7 (patch)
tree340a6a43618d23b4b210c1af2acd2449dba03e52
parentaa3032c45453454272cbfc918d09d6a8b0d36f73 (diff)
downloadpkgsrc-68c2cebdd9a88feec91fe637c42ba060bd871bb7.tar.gz
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.
-rw-r--r--pkgtools/libkver/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/libkver/Makefile b/pkgtools/libkver/Makefile
index 1a707026d95..f67ab636a38 100644
--- a/pkgtools/libkver/Makefile
+++ b/pkgtools/libkver/Makefile
@@ -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=