aboutsummaryrefslogtreecommitdiff
path: root/databases/qt4-sqlite3-plugin/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-08-04 20:04:38 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-08-04 20:04:38 +0000
commit437140d5ee7767647a4a8852a15ec4a5795de676 (patch)
tree2443a6cb032d8f429ce900c305a7375c8e455d9e /databases/qt4-sqlite3-plugin/files
parente4a16c160872cdf202f5fc612a2542966e0ac3af (diff)
downloadports-437140d5ee7767647a4a8852a15ec4a5795de676.tar.gz
ports-437140d5ee7767647a4a8852a15ec4a5795de676.zip
Notes
Diffstat (limited to 'databases/qt4-sqlite3-plugin/files')
-rw-r--r--databases/qt4-sqlite3-plugin/files/Makefile.bsd6
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/qt4-sqlite3-plugin/files/Makefile.bsd b/databases/qt4-sqlite3-plugin/files/Makefile.bsd
index f3b0e7bd4749..293786a04b1d 100644
--- a/databases/qt4-sqlite3-plugin/files/Makefile.bsd
+++ b/databases/qt4-sqlite3-plugin/files/Makefile.bsd
@@ -2,14 +2,14 @@ SHLIB_NAME= libq${DB}.so
VPATH= ${PLUGIN}:${DRIVER}
CXXFLAGS+= -I${DRIVER} -Iinclude \
- -I${PREFIX}/include/qt4 \
- -I${PREFIX}/include/qt4/Qt \
+ -I${QT_INCDIR} \
+ -I${QT_INCDIR}/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${PREFIX}/lib/qt4 -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lsqlite3
+LDADD= -L${QT_LIBDIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lsqlite3
SRCS= smain.cpp qsql_${DB}.cpp moc_qsql_${DB}.cpp
LIBDIR= ${PREFIX}/lib/qt4/plugins/sqldrivers