summaryrefslogtreecommitdiff
path: root/eclass
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
commit96f2d50d617649ebcdf07d6a97f336c82b6bff39 (patch)
treed6bd06af76b6b1cee9473e970ac4b13024234e98 /eclass
parentFix which usage. (diff)
downloadhistorical-96f2d50d617649ebcdf07d6a97f336c82b6bff39.tar.gz
historical-96f2d50d617649ebcdf07d6a97f336c82b6bff39.tar.bz2
historical-96f2d50d617649ebcdf07d6a97f336c82b6bff39.zip
Fix which usage.
Diffstat (limited to 'eclass')
-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"