diff options
author | tron <tron@pkgsrc.org> | 2005-03-22 19:15:04 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2005-03-22 19:15:04 +0000 |
commit | c3333a9a3616f01944f12d17f43d6a467aadb1a4 (patch) | |
tree | 112d5e500467ba77e15baff1ac419a03aa53be68 /mk/platform | |
parent | 97812b5faf91fd29d45713b19fb4eacd2e203dce (diff) | |
download | pkgsrc-c3333a9a3616f01944f12d17f43d6a467aadb1a4.tar.gz |
Several NetBSD ports (e.g. sparc64) don't have "/sbin/ldconfig". So check
whether it exists and use "true" otherwise.
Diffstat (limited to 'mk/platform')
-rw-r--r-- | mk/platform/NetBSD.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/platform/NetBSD.mk b/mk/platform/NetBSD.mk index 3fbf4549ccc..a5cf08857c1 100644 --- a/mk/platform/NetBSD.mk +++ b/mk/platform/NetBSD.mk @@ -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 @@ GZIP_CMD?= /usr/bin/gzip -nf ${GZIP} 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 |