summaryrefslogtreecommitdiff
path: root/mk/tools/tools.NetBSD.mk
diff options
context:
space:
mode:
authorjlam <jlam>2006-03-06 05:25:45 +0000
committerjlam <jlam>2006-03-06 05:25:45 +0000
commit136b2b81568bf89f3330b7c49d91cab115116e5e (patch)
treec2249734c4244b51eecad3bbf8ed8842415a0366 /mk/tools/tools.NetBSD.mk
parentdca3d7efadd93f678b194744d9e572e3927c7889 (diff)
downloadpkgsrc-136b2b81568bf89f3330b7c49d91cab115116e5e.tar.gz
Teach the tools framework how to supply a pkgsrc version of install-info
if a native one isn't available. We ensure that the "install-info" tool in the tools directory is a no-op since the real info file registration is handled by the INSTALL/DEINSTALL script in pkgsrc/mk/pkginstall/install-info.
Diffstat (limited to 'mk/tools/tools.NetBSD.mk')
-rw-r--r--mk/tools/tools.NetBSD.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/tools/tools.NetBSD.mk b/mk/tools/tools.NetBSD.mk
index 5d4dc17797d..aab10c426af 100644
--- a/mk/tools/tools.NetBSD.mk
+++ b/mk/tools/tools.NetBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.NetBSD.mk,v 1.25 2006/03/05 16:27:29 jlam Exp $
+# $NetBSD: tools.NetBSD.mk,v 1.26 2006/03/06 05:25:45 jlam Exp $
#
# System-supplied tools for the NetBSD operating system.
@@ -42,6 +42,9 @@ TOOLS_PLATFORM.head?= /usr/bin/head
TOOLS_PLATFORM.hostname?= /bin/hostname
TOOLS_PLATFORM.id?= /usr/bin/id
TOOLS_PLATFORM.install?= /usr/bin/install
+.if exists(/usr/bin/install-info)
+TOOLS_PLATFORM.install-info?= /usr/bin/install-info
+.endif
.if exists(/sbin/ldconfig)
TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig
.endif