aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2018-02-06 15:41:35 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2018-02-06 15:41:35 +0000
commitfb1df203687ef6dde283e5cd2ee13c94b4c8dcd1 (patch)
treeedf55572a59a623c02abe5d00fa359507ed40a9c /Makefile.inc1
parentc3a6ea5ba6b5a84a0884ae398920378d8efce268 (diff)
downloadsrc-fb1df203687ef6dde283e5cd2ee13c94b4c8dcd1.tar.gz
src-fb1df203687ef6dde283e5cd2ee13c94b4c8dcd1.zip
Don't hardcode /usr/bin as the path for mktemp in build tools
It won't work e.g. when crossbuilding from Ubuntu Linux as mktemp is in /bin there. Reviewed By: bdrewery Approved By: jhb (mentor) Differential Revision: https://reviews.freebsd.org/D13937
Notes
Notes: svn path=/head/; revision=328934
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 8a10e614deae..d1f25e193a14 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -463,7 +463,7 @@ TMPPATH= ${STRICTTMPPATH}:${PATH}
# when in the middle of installing over this system.
#
.if make(distributeworld) || make(installworld) || make(stageworld)
-INSTALLTMP!= /usr/bin/mktemp -d -u -t install
+INSTALLTMP!= mktemp -d -u -t install
.endif
.if make(stagekernel) || make(distributekernel)