summaryrefslogtreecommitdiff
path: root/mk/tools/tools.HPUX.mk
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2007-07-18 09:18:57 +0000
committertnn <tnn@pkgsrc.org>2007-07-18 09:18:57 +0000
commit2861fd6198ccb03273c6768f251924639c4e0572 (patch)
tree701b188f279eead6b96caae6c681fa28f24a291b /mk/tools/tools.HPUX.mk
parent9061166fafb44135dfc61a5f36abb309b7af6cfe (diff)
downloadpkgsrc-2861fd6198ccb03273c6768f251924639c4e0572.tar.gz
Add makedepend as a platform tool in case of native X11, due to it's
residing outside of X11BASE.
Diffstat (limited to 'mk/tools/tools.HPUX.mk')
-rw-r--r--mk/tools/tools.HPUX.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/tools/tools.HPUX.mk b/mk/tools/tools.HPUX.mk
index 654a29a3c14..6944f4a6fb1 100644
--- a/mk/tools/tools.HPUX.mk
+++ b/mk/tools/tools.HPUX.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.HPUX.mk,v 1.1 2007/04/14 14:17:49 tnn Exp $
+# $NetBSD: tools.HPUX.mk,v 1.2 2007/07/18 09:18:57 tnn Exp $
#
# System-supplied tools for the HP-UX operating system.
@@ -36,6 +36,9 @@ TOOLS_PLATFORM.ln?= /bin/ln
TOOLS_PLATFORM.ls?= /bin/ls
TOOLS_PLATFORM.m4?= /usr/bin/m4
TOOLS_PLATFORM.mail?= /usr/bin/mailx
+.if defined(X11_TYPE) && !empty(X11_TYPE:Mnative) && exists(/opt/imake/bin/makedepend)
+TOOLS_PLATFORM.makedepend?= /opt/imake/bin/makedepend
+.endif
TOOLS_PLATFORM.mkdir?= /bin/mkdir -p
TOOLS_PLATFORM.mv?= /bin/mv
TOOLS_PLATFORM.nice?= /usr/bin/nice