From 96f2d50d617649ebcdf07d6a97f336c82b6bff39 Mon Sep 17 00:00:00 2001 From: Luca Longinotti Date: Fri, 16 Mar 2007 22:47:29 +0000 Subject: [PATCH] Fix which usage. --- eclass/mysql.eclass | 6 +++--- 1 file 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) # Maintainer: Luca Longinotti @@ -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" -- 2.26.2