From 1569919deec6f67627c646b25a4c252ac08bcd9a Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 27 Aug 2013 08:49:10 +0200 Subject: [PATCH] qt4: fixed to correctly parse the database package out of database/driver tuple --- qt/qt4/qt4.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qt/qt4/qt4.conf b/qt/qt4/qt4.conf index fa4c665e0..8ca60fd5d 100644 --- a/qt/qt4/qt4.conf +++ b/qt/qt4/qt4.conf @@ -113,20 +113,20 @@ var_append confopt ' ' "-xmlpatterns" # Add database support for all installed databases. tuples="mysql:mysql postgresql:psql sqlite:sqlite sqlite2:sqlite2" for tuple in $tuples; do - tuplepkg=${tuple#:*} + tuplepkg=${tuple%:*} tupledriver=${tuple#*:} if pkginstalled $tuplepkg; then pkgprefix -t $tuplepkg var_append confopt " " "-plugin-sql-$tupledriver" + for x in CXX GCC; do var_append ${x}_WRAPPER_APPEND ' ' "-L$( pkgprefix libdir $tuplepkg )" done for x in CXX GCC CPP; do var_append ${x}_WRAPPER_APPEND ' ' "-I$( pkgprefix includedir $tuplepkg )" var_append ${x}_WRAPPER_APPEND ' ' "-I$( pkgprefix includedir $tuplepkg )" - done - + done fi done