summaryrefslogtreecommitdiff
path: root/mk/tools/replace.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-10 22:17:58 +0000
committerjlam <jlam@pkgsrc.org>2006-07-10 22:17:58 +0000
commiteb27d05acd6cdd303925959c632ab5de09456404 (patch)
tree4fdc9ac5af21a754777f64a21b678dc9ad8e2c94 /mk/tools/replace.mk
parenta6b62bc94f00f501d883f4ede9d01b1ac573e12f (diff)
downloadpkgsrc-eb27d05acd6cdd303925959c632ab5de09456404.tar.gz
Back out revision 1.172 of mk/tools/replace.mk -- we never want to
allow IMAKE to be set by anything other than the tools framework. Modify the IRIX files so that the native imake is listed as a built-in tool in the case where X11_TYPE is "native". Also, move the include of tools/default.mk a bit lower in bsd.prefs.mk so that tools.${OPSYS}.mk files can use the value of X11_TYPE. This should properly set and point IMAKE to the right binary on IRIX without destroying the configuration for platforms where IMAKE was not explicitly set, i.e. every non-IRIX platform.
Diffstat (limited to 'mk/tools/replace.mk')
-rw-r--r--mk/tools/replace.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk
index 5d5273356d0..7da449f1eb6 100644
--- a/mk/tools/replace.mk
+++ b/mk/tools/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.172 2006/07/08 23:08:59 schwarz Exp $
+# $NetBSD: replace.mk,v 1.173 2006/07/10 22:17:58 jlam Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1000,10 +1000,7 @@ TOOLS_PATH.${_t_}= ${TOOLS_PREFIX.${_t_}}/${X11ROOT_PREFIX}/bin/${_t_}
TOOLS_DEPENDS.${_t_}?= xorg-imake>=6.8:../../x11/xorg-imake
TOOLS_FIND_PREFIX+= TOOLS_PREFIX.${_t_}=xorg-imake
TOOLS_PATH.${_t_}= ${TOOLS_PREFIX.${_t_}}/${X11ROOT_PREFIX}/bin/${_t_}
- # !empty(X11_TYPE:Mnative)
-. elif defined(${_TOOLS_VARNAME.${_t_}}) && !empty(${_TOOLS_VARNAME.${_t_}})
-TOOLS_PATH.${_t_}= ${${_TOOLS_VARNAME.${_t_}}}
-. else # tool not explicitly specified
+. else # !empty(X11_TYPE:Mnative)
TOOLS_PATH.${_t_}= ${X11BASE}/bin/${_t_}
. endif
. endif