summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreed <reed>2005-08-26 05:41:39 +0000
committerreed <reed>2005-08-26 05:41:39 +0000
commit6e244acf7c0790af4cde0bd2fe6f4b7406940a66 (patch)
treee372de51fd41215ce21a82a101557762447dbafd
parent58a23ce025af3f5cd0d4c85cfdc4378c95f140cf (diff)
downloadpkgsrc-6e244acf7c0790af4cde0bd2fe6f4b7406940a66.tar.gz
Make sure file exists before defining TOOLS_PLATFORM.mktemp.
-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