Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 353371
Collapse All | Expand All

(-)old/x11-libs/qt-sql/qt-sql-4.7.1-r1.ebuild (-1 / +5 lines)
Lines 54-61 src_prepare() { Link Here
54
54
55
src_configure() {
55
src_configure() {
56
	# Don't support sqlite2 anymore
56
	# Don't support sqlite2 anymore
57
	RPATH="-R "
58
	myinc="${EPREFIX}/usr/include/mysql"
59
	mylib="${EPREFIX}/usr/$(get_libdir)/mysql"
57
	myconf="${myconf} -no-sql-sqlite2
60
	myconf="${myconf} -no-sql-sqlite2
58
		$(qt_use mysql sql-mysql plugin) $(use mysql && echo "-I${EPREFIX}/usr/include/mysql -L${EPREFIX}/usr/$(get_libdir)/mysql ")
61
		$(qt_use mysql sql-mysql plugin) \
62
		$(use mysql && echo "-I${myinc} -L${mylib} ${RPATH}${mylib}")
59
		$(qt_use postgres sql-psql plugin) $(use postgres && echo "-I${EPREFIX}/usr/include/postgresql/pgsql ")
63
		$(qt_use postgres sql-psql plugin) $(use postgres && echo "-I${EPREFIX}/usr/include/postgresql/pgsql ")
60
		$(qt_use sqlite sql-sqlite plugin) $(use sqlite && echo '-system-sqlite')
64
		$(qt_use sqlite sql-sqlite plugin) $(use sqlite && echo '-system-sqlite')
61
		$(qt_use odbc sql-odbc plugin)
65
		$(qt_use odbc sql-odbc plugin)

Return to bug 353371