aboutsummaryrefslogtreecommitdiffstats
path: root/databases/qt-mysql-plugin
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-01-01 03:33:01 +0800
committerlofi <lofi@FreeBSD.org>2004-01-01 03:33:01 +0800
commitb6ffdaa5d524325cefb9d64de45051e01ebce1af (patch)
tree3dc2d122a818c5b711a8d8721cbc703e0355da1d /databases/qt-mysql-plugin
parent79fb51139530941e28e2a1f502d2f1d8690b17db (diff)
downloadfreebsd-ports-gnome-b6ffdaa5d524325cefb9d64de45051e01ebce1af.tar.gz
freebsd-ports-gnome-b6ffdaa5d524325cefb9d64de45051e01ebce1af.tar.zst
freebsd-ports-gnome-b6ffdaa5d524325cefb9d64de45051e01ebce1af.zip
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 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