[Lunar-commits] CVS: moonbase/games/knights3 BUILD,1.2,1.3

Auke Kok sofar at lunar-linux.org
Wed Dec 8 12:56:19 UTC 2004


Update of /var/cvs/lunar/moonbase/games/knights3
In directory espresso.foo-projects.org:/home/sofar/active/moonbase/games/knights3

Modified Files:
	BUILD 
Log Message:
never hardcode qtdir/kdedir... always use the proper dereferences

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/games/knights3/BUILD,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- BUILD	1 Jul 2003 20:51:46 -0000	1.2
+++ BUILD	8 Dec 2004 12:56:02 -0000	1.3
@@ -1,12 +1,12 @@
 (
   
-  export LD_LIBRARY_PATH=/opt/lunar/qt/3/lib
-  export PATH=/opt/lunar/kde/3/bin:/opt/lunar/qt/3/bin:$PATH
-  export LD_RUN_PATH=/opt/lunar/kde/3/lib:/opt/lunar/kde/3/lib/kde3
+  export LD_LIBRARY_PATH=${QT_PREFIX:-$QTDIR}/lib
+  export PATH=${KDE_PREFIX:-$KDEDIR}/bin:${QT_PREFIX:-$QTDIR}/bin:$PATH
+  export LD_RUN_PATH=${KDE_PREFIX:-$KDEDIR}/lib:${KDE_PREFIX:-$KDEDIR}/lib/kde3
 
-  ./configure  --prefix=/opt/lunar/kde/3      \
+  ./configure  --prefix=${KDE_PREFIX:-$KDEDIR}      \
                --disable-debug                \
-               --with-qt-dir=/opt/lunar/qt/3  \
+               --with-qt-dir=${QT_PREFIX:-$QTDIR}  \
                $OPTS                          &&
 
   default_make



More information about the Lunar-commits mailing list