[Lunar-commits] r26260 - moonbase/trunk/libs/libmcs

Jannis Pohlmann jannis at lunar-linux.org
Thu Oct 18 01:00:09 CEST 2007


Author: jannis
Date: 2007-10-18 01:00:09 +0200 (Thu, 18 Oct 2007)
New Revision: 26260

Modified:
   moonbase/trunk/libs/libmcs/BUILD
Log:
Make the KConfig fix more flexible. It's more code now but it works and looks better this way.

Modified: moonbase/trunk/libs/libmcs/BUILD
===================================================================
--- moonbase/trunk/libs/libmcs/BUILD	2007-10-17 22:48:10 UTC (rev 26259)
+++ moonbase/trunk/libs/libmcs/BUILD	2007-10-17 23:00:09 UTC (rev 26260)
@@ -2,10 +2,18 @@
 
   unset CPP
 
-  sedit "s:-I/usr/kde/3.5/include -I/usr/qt/3/include:-I/opt/lunar/kde/3/include -I/opt/lunar/qt/3/include:" configure.ac
-  sedit "s:-L/usr/kde/3.5/lib -I/usr/qt/3/lib:-L/opt/lunar/kde/3/lib -I/opt/lunar/qt/3/lib:" configure.ac
+  if in_depends libmcs kdelibs3; then
+    . /etc/profile.d/qt3.rc
+    . /etc/profile.d/kde3.rc
 
-  autoconf &&
+    sedit "s:-I/usr/kde/3.5/include:-I$KDEDIR/include:" configure.ac &&
+    sedit "s:-I/usr/qt/3/include:-I$QTDIR/include:"     configure.ac &&
+    sedit "s:-L/usr/kde/3.5/lib:-L$KDEDIR/lib:"         configure.ac &&
+    sedit "s:-L/usr/qt/3/lib:-L$QTDIR/lib:"             configure.ac &&
+
+    autoconf
+  fi &&
+
   default_build
 
 ) > $C_FIFO 2>&1



More information about the Lunar-commits mailing list