From b363df64dffcea268d5f917899a75eef8ecc4b6f Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sun, 28 Feb 2016 14:47:29 +0100 Subject: [PATCH] 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) --- eclass/portability.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/portability.eclass b/eclass/portability.eclass index 2e4e01d51432f..02c7c738f41e0 100644 --- a/eclass/portability.eclass +++ b/eclass/portability.eclass @@ -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 }