summaryrefslogtreecommitdiffstats
path: root/databases/qt-mysql-plugin
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2003-12-31 19:33:01 +0000
committerlofi <lofi@FreeBSD.org>2003-12-31 19:33:01 +0000
commitb6ffdaa5d524325cefb9d64de45051e01ebce1af (patch)
tree3dc2d122a818c5b711a8d8721cbc703e0355da1d /databases/qt-mysql-plugin
parent79fb51139530941e28e2a1f502d2f1d8690b17db (diff)
downloadFreeBSD-ports-b6ffdaa5d524325cefb9d64de45051e01ebce1af.zip
FreeBSD-ports-b6ffdaa5d524325cefb9d64de45051e01ebce1af.tar.gz
Add build-shimmies for qt-odbc-plugin.
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 d6661de..bbdbade 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
OpenPOWER on IntegriCloud