summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-19 00:20:35 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-19 00:20:35 +0000
commit6c70879e2239f66de0be34b99dce5a9c5ac96433 (patch)
tree4f35a7168a46ce252a441d9d8aabbb8884cb3c1f
parentVersion bump, successor to XML-XSH (diff)
downloadgentoo-2-6c70879e2239f66de0be34b99dce5a9c5ac96433.tar.gz
gentoo-2-6c70879e2239f66de0be34b99dce5a9c5ac96433.tar.bz2
gentoo-2-6c70879e2239f66de0be34b99dce5a9c5ac96433.zip
Use -m directive instead of -I to get the mk path in crosscompile.
-rw-r--r--eclass/freebsd.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/freebsd.eclass b/eclass/freebsd.eclass
index 3149714df114..4436420c2c6e 100644
--- a/eclass/freebsd.eclass
+++ b/eclass/freebsd.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.3 2006/04/14 11:20:05 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.4 2006/04/19 00:20:35 flameeyes Exp $
#
# Diego Pettenò <flameeyes@gentoo.org>
@@ -52,7 +52,7 @@ doperiodic() {
freebsd_get_bmake() {
local bmake
bmake=$(get_bmake)
- [[ ${CHOST} == *-freebsd* ]] || bmake="${bmake} -I /usr/share/mk/freebsd"
+ [[ ${CBUILD} == *-freebsd* ]] || bmake="${bmake} -m /usr/share/mk/freebsd"
echo ${bmake}
}