summaryrefslogtreecommitdiff
path: root/databases/qt-mysql-plugin
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2003-12-31 19:33:01 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2003-12-31 19:33:01 +0000
commitd80ad25f8862652eb415c86c7245344750fe8d9b (patch)
tree9f1d9a0bc86bd70c7446176a5a2a446efd720757 /databases/qt-mysql-plugin
parentUpdate to 0.2.2. (diff)
Add build-shimmies for qt-odbc-plugin.
Notes
Notes: svn path=/head/; revision=97013
Diffstat (limited to 'databases/qt-mysql-plugin')
-rw-r--r--databases/qt-mysql-plugin/files/Makefile.bsd4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/qt-mysql-plugin/files/Makefile.bsd b/databases/qt-mysql-plugin/files/Makefile.bsd
index d6661dea829f..bbdbade3fe5d 100644
--- a/databases/qt-mysql-plugin/files/Makefile.bsd
+++ b/databases/qt-mysql-plugin/files/Makefile.bsd
@@ -10,8 +10,10 @@ CXXFLAGS+= -I${PLUGIN} -I${DRIVER} \
${PTHREAD_CFLAGS} -DQT_THREAD_SUPPORT
.if ${DB}==mysql
LDADD= -L${X11BASE}/lib -L${LOCALBASE}/lib/mysql ${PTHREAD_LIBS} -lqt-mt -lmysqlclient
-.else
+.elif ${DB}==psql
LDADD= -L${X11BASE}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lqt-mt -lpq
+.elif ${DB}==odbc
+LDADD= -L${X11BASE}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lqt-mt -lodbc
.endif
SRCS= qsql_${DB}.cpp main.cpp