Browse Source

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

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

6
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

Loading…
Cancel
Save