* [gentoo-commits] gentoo-x86 commit in dev-db/myodbc/files: myodbc-5.1.6-qt4-includedir.patch
@ 2010-01-31 6:26 Robin H. Johnson (robbat2)
0 siblings, 0 replies; only message in thread
From: Robin H. Johnson (robbat2) @ 2010-01-31 6:26 UTC (permalink / raw
To: gentoo-commits
robbat2 10/01/31 06:26:55
Added: myodbc-5.1.6-qt4-includedir.patch
Log:
Version bump for 5.1 slot, now includes support for Qt Gui.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-db/myodbc/files/myodbc-5.1.6-qt4-includedir.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/myodbc/files/myodbc-5.1.6-qt4-includedir.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/myodbc/files/myodbc-5.1.6-qt4-includedir.patch?rev=1.1&content-type=text/plain
Index: myodbc-5.1.6-qt4-includedir.patch
===================================================================
diff -Nuar mysql-connector-odbc-5.1.6.orig/qt.m4 mysql-connector-odbc-5.1.6/qt.m4
--- mysql-connector-odbc-5.1.6.orig/qt.m4 2009-11-05 13:34:53.000000000 -0800
+++ mysql-connector-odbc-5.1.6/qt.m4 2010-01-30 22:12:02.105400463 -0800
@@ -91,6 +91,10 @@
AC_SUBST(QTVERSION)
AC_SUBST(MOC)
AC_SUBST(UIC)
+ if expr "$QTVERSION" '>=' "040000" > /dev/null ; then
+ QT_CXXFLAGS="-I$qt_includes -I$qt_includes/QtCore -I$qt_includes/QtGui"
+ else
+ QT_CXXFLAGS="-I$qt_includes"
+ fi
- QT_CXXFLAGS="-I$qt_includes"
AC_SUBST(QT_CXXFLAGS)
QT_LDFLAGS="-L$qt_libraries"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-31 6:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-31 6:26 [gentoo-commits] gentoo-x86 commit in dev-db/myodbc/files: myodbc-5.1.6-qt4-includedir.patch Robin H. Johnson (robbat2)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox