[Lunar-commits] <moonbase> qt4: Adjusting the BUILD so the qt4.rc profile will also point to XDG_DATA_DIRS.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Nov 19 21:40:29 CET 2009


commit fe4da6d231cc8c6a89240a79c854e4dfe2dc140a
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Thu Nov 19 15:40:29 2009 -0500

    qt4: Adjusting the BUILD so the qt4.rc profile will also point to XDG_DATA_DIRS.
    
    The /usr/share is needed, else it will be overridden and only point to /opt/lunar/qt/4.
    
    I am wondering is we should set a global XDG_DATA_DIRS to include /opt/lunar which
    will take care of anything we put there.
---
 kde4/base/qt4/BUILD |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kde4/base/qt4/BUILD b/kde4/base/qt4/BUILD
index f9cff7f..0120a93 100644
--- a/kde4/base/qt4/BUILD
+++ b/kde4/base/qt4/BUILD
@@ -40,6 +40,7 @@
 
   echo "export QTDIR=\"${MODULE_PREFIX}\"" >> $SOURCE_DIRECTORY/qt4.rc  &&
   echo export PATH=\"'${QTDIR}'/bin:'${PATH}'\" >> $SOURCE_DIRECTORY/qt4.rc  &&
+  echo export XDG_DATA_DIRS=\"/usr/share:'${QTDIR}'/share\" >> $SOURCE_DIRECTORY/qt4.rc &&
   echo export PKG_CONFIG_PATH=\"'${QTDIR}'/lib/pkgconfig:'${PKG_CONFIG_PATH}'\"  \
         >> $SOURCE_DIRECTORY/qt4.rc  &&
 


More information about the Lunar-commits mailing list