diff --git a/qt/qt4/config.in b/qt/qt4/config.in index 00f7f005e..66e4ca8d9 100644 --- a/qt/qt4/config.in +++ b/qt/qt4/config.in @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../qt4/config.in -# Copyright (C) 2006 - 2007 The OpenSDE Project +# Copyright (C) 2006 - 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -17,8 +17,10 @@ if pkgcheck qt4 X ; then menu_begin MENU_PKG_QT4 'Qt4 Package Options' text 'Install prefix for Qt4' \ SDECFG_PKG_QT4_PREFIX "usr" - bool 'Enable exception and STL support' \ - SDECFG_PKG_QT4_EXCEPTION_STL 0 + bool 'Disable exceptions on compilers that support it' \ + SDECFG_PKG_QT4_NO_EXCEPTIONS 0 + bool 'Do not compile STL support' \ + SDECFG_PKG_QT4_NO_STL 0 menu_end fi diff --git a/qt/qt4/qt4.conf b/qt/qt4/qt4.conf index 1ee7979d0..ce737197f 100644 --- a/qt/qt4/qt4.conf +++ b/qt/qt4/qt4.conf @@ -96,8 +96,11 @@ var_append confopt ' ' "-nomake examples" [[ $libdir = *lib64* ]] && var_append confopt ' ' '-platform linux-g++-64' -[ "$SDECFG_PKG_QT4_EXCEPTION_STL" = "0" ] && - var_append confopt " " "-no-exceptions -no-stl" +[ "$SDECFG_PKG_QT4_NO_EXCEPTIONS" = "1" ] && + var_append confopt " " "-no-exceptions" + +[ "$SDECFG_PKG_QT4_NO_STL" = "1" ] && + var_append confopt " " "-no-stl" # enable QtXmlPatterns by default var_append confopt ' ' "-xmlpatterns"