summaryrefslogtreecommitdiff
path: root/pkgtools/libkver/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-05-18 22:44:32 +0000
committerjoerg <joerg@pkgsrc.org>2007-05-18 22:44:32 +0000
commit536bb58568ec7f7228c86a72d370bae0dbe5bef9 (patch)
tree340a6a43618d23b4b210c1af2acd2449dba03e52 /pkgtools/libkver/Makefile
parent20aab0d59e7fd8674a6451aa0dac11a752ad467b (diff)
downloadpkgsrc-536bb58568ec7f7228c86a72d370bae0dbe5bef9.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.
Diffstat (limited to 'pkgtools/libkver/Makefile')
-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=