Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 17 years ago
parent
commit
66ef821822
2 changed files with 9 additions and 8 deletions
  1. +8
    -7
      package/x11/qt/config.in
  2. +1
    -1
      package/x11/qt/qt.conf

+ 8
- 7
package/x11/qt/config.in

@ -1,3 +1,4 @@
#!/bin/bash
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
@ -20,10 +21,10 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
if pkgcheck qt X
then
menu_begin MENU_PKG_QT 'Qt widget library Options'
bool 'Build static Qt libraries (see help)' \
ROCKCFG_PKG_QT_STATIC 0
menu_end
fi
menu_begin MENU_PKG_QT 'Qt widget library Options'
bool 'Build static Qt libraries (see help)' \
ROCKCFG_PKG_QT_STATIC 0
choice ROCKCFG_PKG_QT_DEFAULT qt3 \
qt3 'Use Qt 3.x as default Qt library' \
qt4 'Use Qt 4.x as default Qt library'
menu_end

+ 1
- 1
package/x11/qt/qt.conf

@ -94,7 +94,7 @@ qt_pass() {
export QT${xpkg:2:1}DIR
EOT
# until kde 4 which will be based on qt4 the standard is qt3 here
if [ $xpkg == qt3 ]; then
if [ $xpkg == "$ROCKCFG_PKG_QT_DEFAULT" ]; then
cat >> $root/etc/profile.d/$xpkg <<-EOT
QTDIR=\$QT${xpkg:2:1}DIR
export QTDIR

Loading…
Cancel
Save