pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/platform Several NetBSD ports (e.g. sparc64) don't ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6bbf299ce9ff
branches: trunk
changeset: 491306:6bbf299ce9ff
user: tron <tron%pkgsrc.org@localhost>
date: Tue Mar 22 19:15:04 2005 +0000
description:
Several NetBSD ports (e.g. sparc64) don't have "/sbin/ldconfig". So check
whether it exists and use "true" otherwise.
diffstat:
mk/platform/NetBSD.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 6144d9a554ae -r 6bbf299ce9ff mk/platform/NetBSD.mk
--- a/mk/platform/NetBSD.mk Tue Mar 22 18:23:13 2005 +0000
+++ b/mk/platform/NetBSD.mk Tue Mar 22 19:15:04 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.mk,v 1.9 2005/03/22 15:40:06 tv Exp $
+# $NetBSD: NetBSD.mk,v 1.10 2005/03/22 19:15:04 tron Exp $
#
# Variable definitions for the NetBSD operating system.
@@ -39,7 +39,11 @@
HEAD?= /usr/bin/head
HOSTNAME_CMD?= /bin/hostname
ID?= /usr/bin/id
+.if exists(/sbin/ldconfig)
LDCONFIG?= /sbin/ldconfig
+.else
+LDCONFIG?= true
+.endif
LN?= /bin/ln
LS?= /bin/ls
M4?= /usr/bin/m4
Home |
Main Index |
Thread Index |
Old Index