Browse Source

Modified qt3 to install in default prefix usr.

- changed config.hlp and config.in to use qt3 as well.
- changed variables to QT3 as well.
- changed doc install dir to doc/qt3 for default prefix.
early
Minto van der Sluis 18 years ago
parent
commit
f559987ee0
  1. 10
      kde/qt3/config.hlp
  2. 11
      kde/qt3/config.in
  3. 6
      kde/qt3/qt3.conf

10
kde/qt3/config.hlp

@ -12,11 +12,11 @@
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END --- # --- T2-COPYRIGHT-NOTE-END ---
MENU_PKG_QT MENU_PKG_QT3
Here you'll find options for Qt. Here you'll find options for Qt3.
SDECFG_PKG_QT_PREFIX SDECFG_PKG_QT3_PREFIX
Please enter the prefix where you want Qt installed. Please enter the prefix where you want Qt3 installed.
SDECFG_PKG_QT_EXCEPTION_STL 1 SDECFG_PKG_QT3_EXCEPTION_STL 1
Whether to enable support for STL data types and exceptions. Whether to enable support for STL data types and exceptions.

11
kde/qt3/config.in

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../qt/config.in # Filename: package/.../qt/config.in
# Copyright (C) 2006 The OpenSDE Project # Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
@ -12,12 +12,13 @@
# the Free Software Foundation; version 2 of the License. A copy of the # the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
if pkgcheck qt3 X ; then if pkgcheck qt3 X ; then
menu_begin MENU_PKG_TQ 'Qt Package Options' menu_begin MENU_PKG_QT3 'Qt3 Package Options'
text 'Install prefix for Qt' \ text 'Install prefix for Qt3' \
SDECFG_PKG_QT_PREFIX "opt/qt3" SDECFG_PKG_QT3_PREFIX "usr"
bool 'Enable exception and STL support' \ bool 'Enable exception and STL support' \
SDECFG_PKG_QT_EXCEPTION_STL 0 SDECFG_PKG_QT3_EXCEPTION_STL 0
menu_end menu_end
fi fi

6
kde/qt3/qt3.conf

@ -14,10 +14,12 @@
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
prefix="${SDECFG_PKG_QT_PREFIX:-opt/qt3}" prefix="${SDECFG_PKG_QT_PREFIX:-usr}"
if [ "$prefix" = "usr" ]; then
docdir=$docdir/$pkg
fi
set_confopt set_confopt
qt_preconf() { qt_preconf() {
QTDIR=$PWD QTDIR=$PWD
var_insert LD_LIBRARY_PATH ':' "$QTDIR/lib" var_insert LD_LIBRARY_PATH ':' "$QTDIR/lib"

Loading…
Cancel
Save