summaryrefslogtreecommitdiff
path: root/eclass/cmake-utils.eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-03-04 21:24:35 +0100
committerTomas Chvatal <scarabeus@gentoo.org>2009-03-04 21:25:28 +0100
commitab08140b6329b636c9cd41d7431a1d88cd77fc25 (patch)
tree93f0010061cca8fccc712acbd5953fc4b035a704 /eclass/cmake-utils.eclass
parentfe75b92146da735df25b3f5f4cc16131e6001c53 (diff)
downloadkde-ab08140b6329b636c9cd41d7431a1d88cd77fc25.tar.gz
kde-ab08140b6329b636c9cd41d7431a1d88cd77fc25.tar.bz2
kde-ab08140b6329b636c9cd41d7431a1d88cd77fc25.zip
we really dont want to install into /usr/local
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r--eclass/cmake-utils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index f278b46be87..18fdc346bf6 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -178,7 +178,7 @@ cmake-utils_src_prepare() {
fi
# Prepare Gentoo build configuration
- local gentoo_config="${TMPDIR}"/gentoo_config.cmake
+ gentoo_config="${TMPDIR}"/gentoo_config.cmake
local libdir=$(get_libdir)
local build_type=`echo ${CMAKE_BUILD_TYPE} | tr [:lower:] [:upper:]`
cat > ${gentoo_config} <<_EOF_
@@ -220,7 +220,7 @@ cmake-utils_src_configure() {
mkdir -p "${CMAKE_BUILD_DIR}"
pushd "${CMAKE_BUILD_DIR}" > /dev/null
debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: mycmakeargs is $cmakeargs"
- cmake ${cmakeargs} "${S}" || die "cmake failed"
+ cmake -C "${gentoo_config}" ${cmakeargs} "${S}" || die "cmake failed"
popd > /dev/null
}