aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-03-23 11:59:04 +0800
committerbdrewery <bdrewery@FreeBSD.org>2015-03-23 11:59:04 +0800
commita5e62d4b62f8773c1079c59a40276ba4e7d9daad (patch)
treee793974544951c4a0dd21bc3deb4f8c4e5a08840 /Mk/Uses
parent95072a72c6cac48b43dccc5ee90642a7f05dd84a (diff)
downloadfreebsd-ports-gnome-a5e62d4b62f8773c1079c59a40276ba4e7d9daad.tar.gz
freebsd-ports-gnome-a5e62d4b62f8773c1079c59a40276ba4e7d9daad.tar.zst
freebsd-ports-gnome-a5e62d4b62f8773c1079c59a40276ba4e7d9daad.zip
Allow user to override MAKE_CMD without breaking gmake/fmake/scons ports.
With hat: portmgr
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/fmake.mk2
-rw-r--r--Mk/Uses/gmake.mk2
-rw-r--r--Mk/Uses/scons.mk2
3 files changed, 3 insertions, 3 deletions
diff --git a/Mk/Uses/fmake.mk b/Mk/Uses/fmake.mk
index 09f156448d58..e3944753534c 100644
--- a/Mk/Uses/fmake.mk
+++ b/Mk/Uses/fmake.mk
@@ -18,6 +18,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 f650ec2aec4c..64675459e2e9 100644
--- a/Mk/Uses/gmake.mk
+++ b/Mk/Uses/gmake.mk
@@ -24,6 +24,6 @@ _GMAKE_EXT= -lite
BUILD_DEPENDS+= gmake${_GMAKE_EXT}:${PORTSDIR}/devel/gmake${_GMAKE_EXT}
CONFIGURE_ENV+= MAKE=gmake${_GMAKE_EXT}
-MAKE_CMD?= gmake${_GMAKE_EXT}
+MAKE_CMD= gmake${_GMAKE_EXT}
.endif
diff --git a/Mk/Uses/scons.mk b/Mk/Uses/scons.mk
index 59a9201ad387..9bf68fbef392 100644
--- a/Mk/Uses/scons.mk
+++ b/Mk/Uses/scons.mk
@@ -23,7 +23,7 @@ LIBPATH?= ${LOCALBASE}/lib
CPPPATH?= ${LOCALBASE}/include
SCONS= ${LOCALBASE}/bin/scons
BUILD_DEPENDS+= ${SCONS}:${PORTSDIR}/devel/scons
-MAKE_CMD?= ${SCONS}
+MAKE_CMD= ${SCONS}
MAKE_ARGS+= CCFLAGS="${CCFLAGS}" CXXFLAGS="${CXXFLAGS}" \
LINKFLAGS="${LINKFLAGS}" PKGCONFIGDIR="${PKGCONFIGDIR}" \
CPPPATH="${CPPPATH}" LIBPATH="${LIBPATH}" PREFIX="${PREFIX}" \