summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-08-26 05:41:39 +0000
committerreed <reed@pkgsrc.org>2005-08-26 05:41:39 +0000
commit290a112e1dc0d24ee5c25c3fa1e7c4f8a7d1159a (patch)
treee372de51fd41215ce21a82a101557762447dbafd /mk
parentdee2762a372fc172842cef0134d159572b49c9a8 (diff)
downloadpkgsrc-290a112e1dc0d24ee5c25c3fa1e7c4f8a7d1159a.tar.gz
Make sure file exists before defining TOOLS_PLATFORM.mktemp.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/tools.Linux.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/tools/tools.Linux.mk b/mk/tools/tools.Linux.mk
index 8b83de1950a..fd1bd5c1ed9 100644
--- a/mk/tools/tools.Linux.mk
+++ b/mk/tools/tools.Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Linux.mk,v 1.23 2005/06/24 20:59:59 jlam Exp $
+# $NetBSD: tools.Linux.mk,v 1.24 2005/08/26 05:41:39 reed Exp $
#
# System-supplied tools for the Linux operating system.
@@ -107,7 +107,9 @@ TOOLS_PLATFORM.mail?= /bin/mail # RH, Mandrake
TOOLS_PLATFORM.mail?= /usr/bin/mail # Debian, Slackware, SuSE
.endif
TOOLS_PLATFORM.mkdir?= /bin/mkdir -p
+.if exists(/usr/bin/mktemp)
TOOLS_PLATFORM.mktemp?= /usr/bin/mktemp
+.endif
TOOLS_PLATFORM.mv?= /bin/mv
.if exists(/bin/nice)
TOOLS_PLATFORM.nice?= /bin/nice