diff options
author | lofi <lofi@FreeBSD.org> | 2003-12-30 18:09:57 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2003-12-30 18:09:57 +0800 |
commit | 1510ef54c862f229e380f5245a4380172403e16a (patch) | |
tree | f0f8f56a28dda77c7332fe3a390f9f208d657d35 /databases/qt-mysql-plugin/files | |
parent | 55b291d592bf890c3b203cff129ed0c16ca3803c (diff) | |
download | freebsd-ports-gnome-1510ef54c862f229e380f5245a4380172403e16a.tar.gz freebsd-ports-gnome-1510ef54c862f229e380f5245a4380172403e16a.tar.zst freebsd-ports-gnome-1510ef54c862f229e380f5245a4380172403e16a.zip |
Build, link and install the plugins properly so they can actually work.
Reviewed by: maintainer
Diffstat (limited to 'databases/qt-mysql-plugin/files')
-rw-r--r-- | databases/qt-mysql-plugin/files/Makefile.bsd | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/qt-mysql-plugin/files/Makefile.bsd b/databases/qt-mysql-plugin/files/Makefile.bsd index 2f6cd74f5939..d6661dea829f 100644 --- a/databases/qt-mysql-plugin/files/Makefile.bsd +++ b/databases/qt-mysql-plugin/files/Makefile.bsd @@ -6,7 +6,13 @@ VPATH= ${PLUGIN}:${DRIVER} CXXFLAGS+= -I${PLUGIN} -I${DRIVER} \ -I${LOCALBASE}/include/mysql \ -I${LOCALBASE}/include/postgresql/server \ - -I${LOCALBASE}/include -I${X11BASE}/include + -I${LOCALBASE}/include -I${X11BASE}/include \ + ${PTHREAD_CFLAGS} -DQT_THREAD_SUPPORT +.if ${DB}==mysql +LDADD= -L${X11BASE}/lib -L${LOCALBASE}/lib/mysql ${PTHREAD_LIBS} -lqt-mt -lmysqlclient +.else +LDADD= -L${X11BASE}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lqt-mt -lpq +.endif SRCS= qsql_${DB}.cpp main.cpp LIBDIR= ${PREFIX}/lib/plugins/sqldrivers |