summaryrefslogtreecommitdiff
path: root/mk/tools/replace.mk
diff options
context:
space:
mode:
authorschwarz <schwarz>2005-10-16 19:38:05 +0000
committerschwarz <schwarz>2005-10-16 19:38:05 +0000
commite47d3caf1fbf30090ef2bb99ec6d943481aadb27 (patch)
tree48d708d58a5e6ddc148747f70bb4a68cdcefe215 /mk/tools/replace.mk
parentb149e5e4c846d2f837d97e35d3e63f0980448a5a (diff)
downloadpkgsrc-e47d3caf1fbf30090ef2bb99ec6d943481aadb27.tar.gz
modification to increase imake handling flexibility for IRIX (in particular
with respect to IRIX 5). Changes approved by jschauma and recht.
Diffstat (limited to 'mk/tools/replace.mk')
-rw-r--r--mk/tools/replace.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk
index 53959302bd2..34d0e78ba29 100644
--- a/mk/tools/replace.mk
+++ b/mk/tools/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.128 2005/10/12 16:28:29 jlam Exp $
+# $NetBSD: replace.mk,v 1.129 2005/10/16 19:38:05 schwarz Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -691,7 +691,10 @@ TOOLS_PATH.imake= ${TOOLS_PREFIX.imake}/${X11ROOT_PREFIX}/bin/imake
TOOLS_DEPENDS.imake?= xorg-imake>=6.8:../../x11/xorg-imake
TOOLS_FIND_PREFIX+= TOOLS_PREFIX.imake=xorg-imake
TOOLS_PATH.imake= ${TOOLS_PREFIX.imake}/${X11ROOT_PREFIX}/bin/imake
-. else # !empty(X11_TYPE:Mnative)
+# !empty(X11_TYPE:Mnative)
+. elif defined(IMAKE)
+TOOLS_PATH.imake= ${IMAKE}
+. else
TOOLS_PATH.imake= ${X11BASE}/bin/imake
. endif
. endif