summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreeve Jelbert2009-01-31 15:22:39 +0100
committerTreeve Jelbert2009-01-31 15:22:39 +0100
commit48511dbd1902960b6006f7aa806ea0d6c7519d2f (patch)
tree45e7d135acfd37ed708ea22d5233e4e5d48b232a
parent4e9636e2076146160d3024a2e8ffc7a7e244c261 (diff)
parent76a8ea879e4d3d926a1f15392da64981b6923132 (diff)
Merge branch 'master' of ssh://treeve@scm.sourcemage.org/smgl/grimoire
-rwxr-xr-xx11-toolkits/qt4/BUILD2
-rwxr-xr-xx11-toolkits/qt4/CONFIGURE4
-rwxr-xr-xx11-toolkits/qt4/DEPENDS5
-rw-r--r--x11-toolkits/qt4/HISTORY7
-rwxr-xr-xx11-toolkits/qt4/PRE_SUB_DEPENDS1
-rwxr-xr-xx11-toolkits/qt4/REPAIR^all^PRE_SUB_DEPENDS1
-rwxr-xr-xx11-toolkits/qt4/REPAIR^all^SUB_DEPENDS5
-rwxr-xr-xx11-toolkits/qt4/SUB_DEPENDS5
8 files changed, 24 insertions, 6 deletions
diff --git a/x11-toolkits/qt4/BUILD b/x11-toolkits/qt4/BUILD
index 97592977e6..9de1995566 100755
--- a/x11-toolkits/qt4/BUILD
+++ b/x11-toolkits/qt4/BUILD
@@ -7,6 +7,7 @@ OPTS="$QT_DEBUG \
$QT_GIF \
$QT_EXCEPT \
$QT_PCH \
+ $QT_STL \
$QT_QT3 \
$QT_DEMO demos \
$QT_EXAMPLE examples \
@@ -26,7 +27,6 @@ OPTS="$QT_DEBUG \
-demosdir "$INSTALL_ROOT/usr/share/doc/qt4/demos" \
-datadir "$INSTALL_ROOT/usr/share/qt4" \
-platform linux-g++ \
- -stl \
$OPTS &&
make
diff --git a/x11-toolkits/qt4/CONFIGURE b/x11-toolkits/qt4/CONFIGURE
index 5b1fa0ea26..9a693fbda1 100755
--- a/x11-toolkits/qt4/CONFIGURE
+++ b/x11-toolkits/qt4/CONFIGURE
@@ -16,6 +16,10 @@ config_query_option QT_TRANS 'install translations?' n \
'-make' \
'-nomake' &&
+config_query_option QT_STL 'build STL support?' y \
+ '-stl' \
+ '-no-stl' &&
+
config_query_option QT_QT3 'build qt3 support?' y \
'-qt3support' \
'-no-qt3support' &&
diff --git a/x11-toolkits/qt4/DEPENDS b/x11-toolkits/qt4/DEPENDS
index 46e3f7280c..7eb759a647 100755
--- a/x11-toolkits/qt4/DEPENDS
+++ b/x11-toolkits/qt4/DEPENDS
@@ -37,11 +37,6 @@ optional_depends libpng \
'-qt-libpng' \
'to use the system png library' &&
-optional_depends stlport \
- '-stl' \
- '-no-stl' \
- 'for stlport support' &&
-
optional_depends firebird \
"-plugin-sql-ibase -I$INSTALL_ROOT/opt/firebird/include \
-L$INSTALL_ROOT/opt/firebird/lib" \
diff --git a/x11-toolkits/qt4/HISTORY b/x11-toolkits/qt4/HISTORY
index 83506b74d7..ec387de236 100644
--- a/x11-toolkits/qt4/HISTORY
+++ b/x11-toolkits/qt4/HISTORY
@@ -1,3 +1,10 @@
+2009-01-31 Juuso Alasuutari <iuso@sourcemage.org>
+ * DEPENDS: Remove optional_depends stlport.
+ * BUILD: Remove forced -stl flag.
+ * CONFIGURE, BUILD: Add query for STL support.
+ * SUB_DEPENDS, PRE_SUB_DEPENDS, REPAIR^all^SUB_DEPENDS,
+ REPAIR^all^PRE_SUB_DEPENDS: Add STL sub-dependency.
+
2009-01-09 Treeve Jelbert <treeve@sourcemage.org>
* SUB_DEPENDS, PRE_SUB_DEPEND, REPAIR^all^PRE_SUB_DEPENDS
REPAIR^all^SUB_DEPENDS: add firebird & postgresql
diff --git a/x11-toolkits/qt4/PRE_SUB_DEPENDS b/x11-toolkits/qt4/PRE_SUB_DEPENDS
index b00603f061..bde8debf35 100755
--- a/x11-toolkits/qt4/PRE_SUB_DEPENDS
+++ b/x11-toolkits/qt4/PRE_SUB_DEPENDS
@@ -7,6 +7,7 @@ case $THIS_SUB_DEPENDS in
SQLITE) is_depends_enabled $SPELL sqlite && return 0;;
SSL) is_depends_enabled $SPELL openssl && return 0;;
TOOLS) [[ $QT_TOOLS == "-make" ]] && return 0;;
+ STL) [[ $QT_STL == "-stl" ]] && return 0;;
QT3) [[ $QT_QT3 == "-qt3support" ]] && return 0;;
WEBKIT) [[ $QT_WEBKIT == "-webkit" ]] && return 0;;
*) echo "Eek, unknown subdependency requested!"; return 1;;
diff --git a/x11-toolkits/qt4/REPAIR^all^PRE_SUB_DEPENDS b/x11-toolkits/qt4/REPAIR^all^PRE_SUB_DEPENDS
index b00603f061..bde8debf35 100755
--- a/x11-toolkits/qt4/REPAIR^all^PRE_SUB_DEPENDS
+++ b/x11-toolkits/qt4/REPAIR^all^PRE_SUB_DEPENDS
@@ -7,6 +7,7 @@ case $THIS_SUB_DEPENDS in
SQLITE) is_depends_enabled $SPELL sqlite && return 0;;
SSL) is_depends_enabled $SPELL openssl && return 0;;
TOOLS) [[ $QT_TOOLS == "-make" ]] && return 0;;
+ STL) [[ $QT_STL == "-stl" ]] && return 0;;
QT3) [[ $QT_QT3 == "-qt3support" ]] && return 0;;
WEBKIT) [[ $QT_WEBKIT == "-webkit" ]] && return 0;;
*) echo "Eek, unknown subdependency requested!"; return 1;;
diff --git a/x11-toolkits/qt4/REPAIR^all^SUB_DEPENDS b/x11-toolkits/qt4/REPAIR^all^SUB_DEPENDS
index 2495c82936..81a17ec9a3 100755
--- a/x11-toolkits/qt4/REPAIR^all^SUB_DEPENDS
+++ b/x11-toolkits/qt4/REPAIR^all^SUB_DEPENDS
@@ -29,6 +29,11 @@ TOOLS) if [[ $QT_TOOLS == "-nomake" ]]; then
QT_TOOLS="-make"
fi
;;
+STL) if [[ $QT_STL == "-no-stl" ]]; then
+ echo "STL support requested, forcing build." &&
+ QT_STL="-stl"
+ fi
+ ;;
QT3) if [[ $QT_QT3 == "-no-qt3support" ]]; then
echo "Qt3 support requested, forcing build." &&
QT_QT3="-qt3support"
diff --git a/x11-toolkits/qt4/SUB_DEPENDS b/x11-toolkits/qt4/SUB_DEPENDS
index 2495c82936..81a17ec9a3 100755
--- a/x11-toolkits/qt4/SUB_DEPENDS
+++ b/x11-toolkits/qt4/SUB_DEPENDS
@@ -29,6 +29,11 @@ TOOLS) if [[ $QT_TOOLS == "-nomake" ]]; then
QT_TOOLS="-make"
fi
;;
+STL) if [[ $QT_STL == "-no-stl" ]]; then
+ echo "STL support requested, forcing build." &&
+ QT_STL="-stl"
+ fi
+ ;;
QT3) if [[ $QT_QT3 == "-no-qt3support" ]]; then
echo "Qt3 support requested, forcing build." &&
QT_QT3="-qt3support"