aboutsummaryrefslogtreecommitdiff
path: root/databases/qt4-sqlite3-plugin/files/Makefile.bsd
diff options
context:
space:
mode:
Diffstat (limited to 'databases/qt4-sqlite3-plugin/files/Makefile.bsd')
-rw-r--r--databases/qt4-sqlite3-plugin/files/Makefile.bsd7
1 files changed, 4 insertions, 3 deletions
diff --git a/databases/qt4-sqlite3-plugin/files/Makefile.bsd b/databases/qt4-sqlite3-plugin/files/Makefile.bsd
index e3d4e2cf7879..f3b0e7bd4749 100644
--- a/databases/qt4-sqlite3-plugin/files/Makefile.bsd
+++ b/databases/qt4-sqlite3-plugin/files/Makefile.bsd
@@ -1,14 +1,15 @@
-SHLIB_NAME= libqsql${DB}.so
+SHLIB_NAME= libq${DB}.so
VPATH= ${PLUGIN}:${DRIVER}
CXXFLAGS+= -I${DRIVER} -Iinclude \
- -I${LOCALBASE}/include/Qt \
+ -I${PREFIX}/include/qt4 \
+ -I${PREFIX}/include/qt4/Qt \
-I${LOCALBASE}/include \
${PTHREAD_CFLAGS} -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII \
-DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE \
-D_LARGEFILE_SOURCE -DQT_SHARED
MOC?= ${LOCALBASE}/bin/moc-qt4
-LDADD= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lsqlite3
+LDADD= -L${PREFIX}/lib/qt4 -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lsqlite3
SRCS= smain.cpp qsql_${DB}.cpp moc_qsql_${DB}.cpp
LIBDIR= ${PREFIX}/lib/qt4/plugins/sqldrivers