eclass/portability.eclass: Make get_bmake return "bmake" on linux instead of "pmake".
authorAlexis Ballier <aballier@gentoo.org>
Sun, 28 Feb 2016 13:47:29 +0000 (14:47 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Sun, 28 Feb 2016 13:47:29 +0000 (14:47 +0100)
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

index 2e4e01d51432f79bedafdead82e0b3e4436ca48a..02c7c738f41e042541e124f4eb0885211c3d49d7 100644 (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
 }