projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c2968c
)
eclass/portability.eclass: Discriminate on CBUILD:-CHOST for getting the bmake binary...
author
Alexis Ballier
<aballier@gentoo.org>
Tue, 1 Mar 2016 10:05:41 +0000
(11:05 +0100)
committer
Alexis Ballier
<aballier@gentoo.org>
Tue, 1 Mar 2016 10:06:53 +0000
(11:06 +0100)
eclass/portability.eclass
patch
|
blob
|
history
diff --git
a/eclass/portability.eclass
b/eclass/portability.eclass
index 02c7c738f41e042541e124f4eb0885211c3d49d7..4f29725e2e32bff32f9e191a716f474182bb94b1 100644
(file)
--- a/
eclass/portability.eclass
+++ b/
eclass/portability.eclass
@@
-107,9
+107,9
@@
dlopen_lib() {
# Note: the bsdmake for Darwin userland is with compatibility with MacOSX
# default name.
get_bmake() {
- if [[ ${
USERLAND} == *BSD
]]; then
+ if [[ ${
CBUILD:-${CHOST}} == *bsd*
]]; then
echo make
- elif [[ ${
USERLAND} == "Darwin"
]]; then
+ elif [[ ${
CBUILD:-${CHOST}} == *darwin*
]]; then
echo bsdmake
else
echo bmake