aboutsummaryrefslogtreecommitdiff
path: root/databases/qt4-pgsql-plugin
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-pgsql-plugin
parente4a16c160872cdf202f5fc612a2542966e0ac3af (diff)
downloadports-437140d5ee7767647a4a8852a15ec4a5795de676.tar.gz
ports-437140d5ee7767647a4a8852a15ec4a5795de676.zip
Notes
Diffstat (limited to 'databases/qt4-pgsql-plugin')
-rw-r--r--databases/qt4-pgsql-plugin/Makefile5
-rw-r--r--databases/qt4-pgsql-plugin/distinfo6
-rw-r--r--databases/qt4-pgsql-plugin/files/Makefile.bsd6
3 files changed, 10 insertions, 7 deletions
diff --git a/databases/qt4-pgsql-plugin/Makefile b/databases/qt4-pgsql-plugin/Makefile
index b2acc142aa20..3126f98522c2 100644
--- a/databases/qt4-pgsql-plugin/Makefile
+++ b/databases/qt4-pgsql-plugin/Makefile
@@ -21,6 +21,7 @@ DB= psql
USE_QT_VER= 4
QT_COMPONENTS= moc_build sql
QT_NONSTANDARD= yes
+MAKE_JOBS_SAFE= yes
USE_PGSQL= yes
DRIVER= src/sql/drivers/${DB}
@@ -32,7 +33,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-pgsql-plugin/distinfo b/databases/qt4-pgsql-plugin/distinfo
index 1756af8b04d9..27b0949354e8 100644
--- a/databases/qt4-pgsql-plugin/distinfo
+++ b/databases/qt4-pgsql-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-pgsql-plugin/files/Makefile.bsd b/databases/qt4-pgsql-plugin/files/Makefile.bsd
index 545a2eee5ad1..9506edf39bec 100644
--- a/databases/qt4-pgsql-plugin/files/Makefile.bsd
+++ b/databases/qt4-pgsql-plugin/files/Makefile.bsd
@@ -2,15 +2,15 @@ SHLIB_NAME= libqsql${DB}.so
VPATH= ${PLUGIN}:${DRIVER}
CXXFLAGS+= -I${DRIVER} \
- -I${PREFIX}/include/qt4 \
- -I${PREFIX}/include/qt4/Qt \
+ -I${QT_INCDIR} \
+ -I${QT_INCDIR}/Qt \
-I${LOCALBASE}/include/postgresql/server \
-I${LOCALBASE}/include -I${X11BASE}/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 -lpq
+LDADD= -L${QT_LIBDIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lQtSql -lpq
SRCS= main.cpp qsql_${DB}.cpp moc_qsql_${DB}.cpp
LIBDIR= ${PREFIX}/lib/qt4/plugins/sqldrivers