Browse Source

qt4: fixed to correctly parse the database package out of database/driver tuple

stable/0.6
Christian Wiese 12 years ago committed by Christian Wiese
parent
commit
1569919dee
  1. 4
      qt/qt4/qt4.conf

4
qt/qt4/qt4.conf

@ -113,12 +113,13 @@ 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
@ -126,7 +127,6 @@ for tuple in $tuples; do
var_append ${x}_WRAPPER_APPEND ' ' "-I$( pkgprefix includedir $tuplepkg )"
var_append ${x}_WRAPPER_APPEND ' ' "-I$( pkgprefix includedir $tuplepkg )"
done
fi
done

Loading…
Cancel
Save