summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2007-03-16 22:47:29 +0000
committerLuca Longinotti <chtekk@gentoo.org>2007-03-16 22:47:29 +0000
commit135a99b2e65dbad68f4a42f6debc7104fa896808 (patch)
tree4b9f3a7d7d9ace79fdccfd18c9082e039b10bd12
parentFix which usage. (diff)
downloadgentoo-2-135a99b2e65dbad68f4a42f6debc7104fa896808.tar.gz
gentoo-2-135a99b2e65dbad68f4a42f6debc7104fa896808.tar.bz2
gentoo-2-135a99b2e65dbad68f4a42f6debc7104fa896808.zip
Fix which usage.
-rw-r--r--eclass/mysql.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass
index 4698b464a88a..1cd69f67b835 100644
--- a/eclass/mysql.eclass
+++ b/eclass/mysql.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.71 2007/03/06 15:55:55 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.72 2007/03/16 22:47:29 chtekk Exp $
# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
# Maintainer: Luca Longinotti <chtekk@gentoo.org>
@@ -526,8 +526,8 @@ mysql_src_unpack() {
# TODO: check this with a cmake expert
use innodb \
&& cmake \
- -DCMAKE_C_COMPILER=$(which $(tc-getCC)) \
- -DCMAKE_CXX_COMPILER=$(which $(tc-getCC)) \
+ -DCMAKE_C_COMPILER=$(type -P $(tc-getCC)) \
+ -DCMAKE_CXX_COMPILER=$(type -P $(tc-getCC)) \
"storage/innobase"
else
rebuilddirlist=". innobase"