summaryrefslogtreecommitdiff
path: root/devel/qmake
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2003-10-26 16:01:47 +0000
committerMikhail Teterin <mi@FreeBSD.org>2003-10-26 16:01:47 +0000
commitc18f55cc94abf72a94a67a686eab3266dd7972f8 (patch)
tree3b6450490b2f729cdf1dff77a1f135f0a834e688 /devel/qmake
parentUpdate to 0.13. (diff)
Borrow the -pthread substitution magic from x11-toolkits/qt32.
Notes
Notes: svn path=/head/; revision=92210
Diffstat (limited to 'devel/qmake')
-rw-r--r--devel/qmake/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/qmake/Makefile b/devel/qmake/Makefile
index c5830926c5a0..560ffeb869a6 100644
--- a/devel/qmake/Makefile
+++ b/devel/qmake/Makefile
@@ -51,6 +51,8 @@ post-patch:
-e 's,/usr/X11R6,${X11BASE},' \
-e 's,release,release thread,' \
-e 's,-pthread,,g' \
+ -e 's,-pthread -D_THREAD_SAFE,${PTHREAD_CFLAGS},' \
+ -e 's,-pthread,${PTHREAD_LIBS},' \
${WRKSRC}/../mkspecs/freebsd-g++/qmake.conf
@${REINPLACE_CMD} -e 's,@QMAKE_QTOBJS@,,g' ${WRKSRC}/Makefile.unix