aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-03-23 12:03:00 +0800
committerbdrewery <bdrewery@FreeBSD.org>2015-03-23 12:03:00 +0800
commite291418c8130c04ee054f219d8467f9693fc3276 (patch)
treee7b299ac745187b581b601c035364542d3ec7579 /Mk
parenta5e62d4b62f8773c1079c59a40276ba4e7d9daad (diff)
downloadfreebsd-ports-gnome-e291418c8130c04ee054f219d8467f9693fc3276.tar.gz
freebsd-ports-gnome-e291418c8130c04ee054f219d8467f9693fc3276.tar.zst
freebsd-ports-gnome-e291418c8130c04ee054f219d8467f9693fc3276.zip
Introduce a BSDMAKE?= /usr/bin/make and use it as the default MAKE_CMD.
With hat: portmgr
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.commands.mk1
-rw-r--r--Mk/bsd.port.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.commands.mk b/Mk/bsd.commands.mk
index 4548490edb61..f1c9b0dad366 100644
--- a/Mk/bsd.commands.mk
+++ b/Mk/bsd.commands.mk
@@ -18,6 +18,7 @@ _COMMANDSMKINCLUDED= yes
AWK?= /usr/bin/awk
BASENAME?= /usr/bin/basename
BRANDELF?= /usr/bin/brandelf
+BSDMAKE?= /usr/bin/make
BZCAT?= /usr/bin/bzcat
BZIP2_CMD?= /usr/bin/bzip2
CAT?= /bin/cat
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 46ecb1e01e8d..e4db350d8987 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2019,7 +2019,7 @@ DISTINFO_FILE?= ${MASTERDIR}/distinfo
MAKE_FLAGS?= -f
MAKEFILE?= Makefile
-MAKE_CMD?= /usr/bin/make
+MAKE_CMD?= ${BSDMAKE}
MAKE_ENV+= PREFIX=${PREFIX} \
LOCALBASE=${LOCALBASE} \
LIBDIR="${LIBDIR}" \