mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user