aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-07-30 14:32:01 +0800
committerbapt <bapt@FreeBSD.org>2013-07-30 14:32:01 +0800
commit3a4a69e30d0cefad381a6beed87464eb287aa892 (patch)
tree1f8a52e1fa5609cac7d89073ceb5880d914b0ff2 /Mk
parent405a316e2a184b11dd7d9dc806f5a62c7df703ab (diff)
downloadfreebsd-ports-gnome-3a4a69e30d0cefad381a6beed87464eb287aa892.tar.gz
freebsd-ports-gnome-3a4a69e30d0cefad381a6beed87464eb287aa892.tar.zst
freebsd-ports-gnome-3a4a69e30d0cefad381a6beed87464eb287aa892.zip
Define MAKE_CMD in post.mk to allow anything to overwrite it
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/fmake.mk2
-rw-r--r--Mk/Uses/gmake.mk3
-rw-r--r--Mk/bsd.commands.mk1
-rw-r--r--Mk/bsd.port.mk1
4 files changed, 3 insertions, 4 deletions
diff --git a/Mk/Uses/fmake.mk b/Mk/Uses/fmake.mk
index 6b5131cb4059..99dc725dd828 100644
--- a/Mk/Uses/fmake.mk
+++ b/Mk/Uses/fmake.mk
@@ -19,6 +19,6 @@ IGNORE= Incorrect 'USES+= fmake:${fmake_ARGS}' fmake takes no arguments
FMAKE= ${LOCALBASE}/bin/fmake
BUILD_DEPENDS+= ${FMAKE}:${PORTSDIR}/devel/fmake
CONFIGURE_ENV+= MAKE=${FMAKE}
-MAKE_CMD= ${FMAKE}
+MAKE_CMD?= ${FMAKE}
.endif
.endif
diff --git a/Mk/Uses/gmake.mk b/Mk/Uses/gmake.mk
index 9c697ad1e7c1..8def61f9f8e4 100644
--- a/Mk/Uses/gmake.mk
+++ b/Mk/Uses/gmake.mk
@@ -17,7 +17,6 @@ IGNORE= Incorrect 'USES+= gmake:${gmake_ARGS}' gmake takes no arguments
BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake
CONFIGURE_ENV+= MAKE=${GMAKE}
-MAKE_CMD= ${GMAKE}
-_USES_POST+= gmake
+MAKE_CMD?= ${GMAKE}
.endif
diff --git a/Mk/bsd.commands.mk b/Mk/bsd.commands.mk
index 7c5441702ef9..5eb0230c9518 100644
--- a/Mk/bsd.commands.mk
+++ b/Mk/bsd.commands.mk
@@ -58,7 +58,6 @@ LDCONFIG?= /sbin/ldconfig
LHA_CMD?= ${LOCALBASE}/bin/lha
LN?= /bin/ln
LS?= /bin/ls
-MAKE_CMD?= /usr/bin/make
MKDIR?= /bin/mkdir -p
MKTEMP?= /usr/bin/mktemp
MOUNT?= /sbin/mount
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 8b108befb20c..badde7281171 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2100,6 +2100,7 @@ DISTINFO_FILE?= ${MASTERDIR}/distinfo
MAKE_FLAGS?= -f
MAKEFILE?= Makefile
+MAKE_CMD?= /usr/bin/make
MAKE_ENV+= PREFIX=${PREFIX} \
LOCALBASE=${LOCALBASE} \
LIBDIR="${LIBDIR}" \