diff options
| author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-05-06 14:45:09 +0200 |
|---|---|---|
| committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-05-06 14:45:09 +0200 |
| commit | d8305ff61b4fbb33bf8cac6b73fc218de770fad4 (patch) | |
| tree | cdba44a2e8c93f4aeee38a81a6d85f177bedcb88 /eclass | |
| parent | 9fcc0845e8c91f7475d32ac059c67408fb2fcba7 (diff) | |
| download | kde-d8305ff61b4fbb33bf8cac6b73fc218de770fad4.tar.gz kde-d8305ff61b4fbb33bf8cac6b73fc218de770fad4.tar.bz2 kde-d8305ff61b4fbb33bf8cac6b73fc218de770fad4.zip | |
Add backcompat modulo so we wont break stuff in main tree using wrongly eclass (i was really tempted to leave it and see who is not reading mine mails :])
Diffstat (limited to 'eclass')
| -rw-r--r-- | eclass/cmake-utils.eclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 0f7e28e52ee..5cebabe29a9 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -127,6 +127,9 @@ _check_build_dir() { if [[ -n "${CMAKE_IN_SOURCE_BUILD}" ]]; then CMAKE_BUILD_DIR="${CMAKE_USE_DIR}" else + # this is backcompat modulo, should be removed in future + [[ ${CMAKE_USE_DIR} = ${S} ]] CMAKE_USE_DIR=${PN} + CMAKE_BUILD_DIR="${CMAKE_USE_DIR}_build" fi echo ">>> Working in BUILD_DIR: \"$CMAKE_BUILD_DIR\"" |
