aboutsummaryrefslogtreecommitdiffstats
path: root/databases/qt4-sqlite-plugin
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-08-05 04:04:38 +0800
committermiwi <miwi@FreeBSD.org>2009-08-05 04:04:38 +0800
commit5153f40d24ec33479bb3f8c06e1c33f0c9e052d1 (patch)
tree2781cac7d68b8246efd7f5d5bf764de05aee8338 /databases/qt4-sqlite-plugin
parent32198db977429daaf8bbf3ef8312d29a0e17083d (diff)
downloadfreebsd-ports-graphics-5153f40d24ec33479bb3f8c06e1c33f0c9e052d1.tar.gz
freebsd-ports-graphics-5153f40d24ec33479bb3f8c06e1c33f0c9e052d1.tar.zst
freebsd-ports-graphics-5153f40d24ec33479bb3f8c06e1c33f0c9e052d1.zip
- Update Qt4 to 4.5.2
The KDE FreeBSD team would like to say thanks to all the helpers and submitters. Tested by: pointyhat-exp-run (pav/miwi)
Diffstat (limited to 'databases/qt4-sqlite-plugin')
-rw-r--r--databases/qt4-sqlite-plugin/Makefile5
-rw-r--r--databases/qt4-sqlite-plugin/distinfo6
-rw-r--r--databases/qt4-sqlite-plugin/files/Makefile.bsd8
3 files changed, 11 insertions, 8 deletions
diff --git a/databases/qt4-sqlite-plugin/Makefile b/databases/qt4-sqlite-plugin/Makefile
index 81e5df5adbe..7dda02b7100 100644
--- a/databases/qt4-sqlite-plugin/Makefile
+++ b/databases/qt4-sqlite-plugin/Makefile
@@ -23,6 +23,7 @@ LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2
USE_QT_VER= 4
QT_COMPONENTS= moc_build sql
QT_NONSTANDARD= yes
+MAKE_JOBS_SAFE= yes
DRIVER= src/sql/drivers/${DB}
PLUGIN= src/plugins/sqldrivers/${DB}
@@ -34,7 +35,9 @@ MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ENV+= DB="${DB}" DRIVER="${DRIVER}" MOC="${MOC}" \
PLUGIN="${PLUGIN}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ QT_INCDIR="${QT_INCDIR}" \
+ QT_LIBDIR="${QT_LIBDIR}"
PLIST_SUB= DB=${DB}
.include <bsd.port.mk>
diff --git a/databases/qt4-sqlite-plugin/distinfo b/databases/qt4-sqlite-plugin/distinfo
index 1756af8b04d..27b0949354e 100644
--- a/databases/qt4-sqlite-plugin/distinfo
+++ b/databases/qt4-sqlite-plugin/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 376c003317c4417326ba2116370227d0
-SHA256 (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 79ea9fb46d75c3759e3e98ab0064a47eaa5bdbbc2a53d923d60bd8e9cd0bc5c6
-SIZE (KDE/qt-x11-opensource-src-4.4.3.tar.gz) = 112939803
+MD5 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = d8bcc070a58db25c228b7729ffad4550
+SHA256 (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 4e4c8619335cac14ba0c52d1555fab549a562fb774c1c08dcbd2be9de38120a2
+SIZE (KDE/qt-x11-opensource-src-4.5.2.tar.gz) = 125803421
diff --git a/databases/qt4-sqlite-plugin/files/Makefile.bsd b/databases/qt4-sqlite-plugin/files/Makefile.bsd
index 8b6871981c7..8ce538749a9 100644
--- a/databases/qt4-sqlite-plugin/files/Makefile.bsd
+++ b/databases/qt4-sqlite-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?= ${PREFIX}/bin/moc-qt4
-LDADD= -L${PREFIX}/lib/qt4 -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lsqlite
+MOC?= ${LOCALBASE}/bin/moc-qt4
+LDADD= -L${QT_LIBDIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lsqlite
SRCS= smain.cpp qsql_${DB}.cpp moc_qsql_${DB}.cpp
LIBDIR= ${PREFIX}/lib/qt4/plugins/sqldrivers