minor updates
[pkgusr] / etc / pkgusr / bash_profile
index 58d3c4d..b1c0040 100644 (file)
@@ -4,10 +4,12 @@ umask 022
 LC_ALL=POSIX
 
 ## PATH
-# The wrappers directory must be the first entry in the PATH.  Once
-# you are no longer needing or using the tools dir you can remove it
-# from the PATH if you want, but leaving it there won't hurt
-PATH=/usr/lib/pkgusr:/usr/bin:/bin:/usr/X11R6/bin:/tools/bin
+# The wrappers directory must be the first entry in the PATH.  
+#
+# Once you are no longer needing or using the tools dir you can remove it
+# from the PATH if you want, but leaving it there won't hurt.
+#PATH=/usr/lib/pkgusr:/usr/bin:/bin:/usr/X11R6/bin:/opt/qt/bin:/tools/bin
+PATH=/usr/lib/pkgusr:/usr/bin:/bin:/usr/X11R6/bin:/opt/qt/bin
 
 ## A couple things to make less(1) nicer.
 LESS=-MRgisw
@@ -18,10 +20,14 @@ LESSOPEN='|lesspipe.sh %s'
 TZ='Australia/Brisbane'
 
 ## pkg-config
-PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig
+PKG_CONFIG_PATH=$(pkg-config --variable pc_path pkg-config):/usr/X11R6/lib/pkgconfig:/usr/X11R6/share/pkgconfig
+PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/opt/qt/lib/pkgconfig
+
+## QT
+QTDIR=/opt/qt
 
 ### export everything
-export LC_ALL PATH LESS LESSCHARSET LESSOPEN TZ PKG_CONFIG_DIR
+export LC_ALL PATH LESS LESSCHARSET LESSOPEN TZ PKG_CONFIG_PATH QTDIR
 
 
 # Make prompt reflect that we are a package user.