[Lunar-commits] CVS: moonbase/games/krcon BUILD,1.1,1.2

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


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

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

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/games/krcon/BUILD,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BUILD	24 Jan 2004 17:38:07 -0000	1.1
+++ BUILD	8 Dec 2004 12:56:02 -0000	1.2
@@ -1,13 +1,13 @@
 (
-  export LD_LIBRARY_PATH=/opt/lunar/qt/3/lib
-  export PATH=/opt/lunar/qt/3/bin:/opt/lunar/kde/3/bin:$PATH
-  export LD_RUN_PATH=/opt/lunar/kde/3/lib:/opt/lunar/kde/3/lib/kde3
-  QTDIR=/opt/lunar/qt/3
-  KDEDIR=/opt/lunar/kde/3
+  export LD_LIBRARY_PATH=${QT_PREFIX:-$QTDIR}/lib
+  export PATH=${QT_PREFIX:-$QTDIR}/bin:${KDE_PREFIX:-$KDEDIR}/bin:$PATH
+  export LD_RUN_PATH=${KDE_PREFIX:-$KDEDIR}/lib:${KDE_PREFIX:-$KDEDIR}/lib/kde3
+  QTDIR=${QT_PREFIX:-$QTDIR}
+  KDEDIR=${KDE_PREFIX:-$KDEDIR}
 
-  ./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}        \
                  --with-xinerama                      \
                  $OPTS                                &&
 



More information about the Lunar-commits mailing list