pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/libkver Silence make. If /sbin/sysctl is stat...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9b0b40895130
branches: trunk
changeset: 528874:9b0b40895130
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri May 18 22:44:32 2007 +0000
description:
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:
pkgtools/libkver/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r fe8eb7a92b8e -r 9b0b40895130 pkgtools/libkver/Makefile
--- a/pkgtools/libkver/Makefile Fri May 18 22:20:09 2007 +0000
+++ b/pkgtools/libkver/Makefile Fri May 18 22:44:32 2007 +0000
@@ -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 @@
.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=
Home |
Main Index |
Thread Index |
Old Index