eclass/portability.eclass: Make get_bmake return "bmake" on linux instead of "pmake".

pmake was the debian port of bmake. bmake works fine, pmake cannot be used to cross-build freebsd-lib 10 for example. pmake has been deprecated and replaced by bmake in debian since jessie (current stable), pmake is only present in wheezy (oldstable)
This commit is contained in:
Alexis Ballier
2016-02-28 14:47:29 +01:00
parent 4915187ae9
commit b363df64df

View File

@@ -98,7 +98,7 @@ dlopen_lib() {
# @USAGE:
# @RETURN: system version of make
# @DESCRIPTION:
# Gets the name of the BSD-ish make command (pmake from NetBSD)
# Gets the name of the BSD-ish make command (bmake from NetBSD)
#
# This will return make (provided by system packages) for BSD userlands,
# or bsdmake for Darwin userlands and pmake for the rest of userlands,
@@ -112,7 +112,7 @@ get_bmake() {
elif [[ ${USERLAND} == "Darwin" ]]; then
echo bsdmake
else
echo pmake
echo bmake
fi
}