[Lunar-commits] <moonbase> kdesdk4: Changing the build method to out of source build. This one is an exception

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Tue May 10 19:44:08 CEST 2011


commit a657b7c2a7092962c12d08b1ca3c5c35507725bd
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Tue May 10 13:44:08 2011 -0400

    kdesdk4: Changing the build method to out of source build. This one is an exception
    
    to the other kde4/base modules. As mentioned in commit c03b0717ff94794d1fb7f1835aec371f70ff4c05
    to determine which method is best; untar, cd to dir, ccmake ., press c and it will
    say it wants an out of source build. This module did not give that indication and was failing
    the build on some kate/plugins.
---
 kde4/base/kdesdk4/BUILD |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/kde4/base/kdesdk4/BUILD b/kde4/base/kdesdk4/BUILD
index 9b966f9..1268692 100644
--- a/kde4/base/kdesdk4/BUILD
+++ b/kde4/base/kdesdk4/BUILD
@@ -3,9 +3,13 @@
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
+  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
+  mkdir $OOSB_DIR  &&
+  cd $OOSB_DIR     &&
+
   cmake -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
         -DCMAKE_BUILD_TYPE=RELEASE             \
-        $OPTS .                               &&
+        $OPTS $SOURCE_DIRECTORY               &&
 
   default_make
 


More information about the Lunar-commits mailing list