aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qmake
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2003-10-27 00:01:47 +0800
committermi <mi@FreeBSD.org>2003-10-27 00:01:47 +0800
commitce672aa762e44f14b18eea4cd7f2643f171e0563 (patch)
treef60546661cf72e81e9718f510f5a72191e887634 /devel/qmake
parent0958d962e967333d7dc1c9dc39d62e659b90934d (diff)
downloadfreebsd-ports-gnome-ce672aa762e44f14b18eea4cd7f2643f171e0563.tar.gz
freebsd-ports-gnome-ce672aa762e44f14b18eea4cd7f2643f171e0563.tar.zst
freebsd-ports-gnome-ce672aa762e44f14b18eea4cd7f2643f171e0563.zip
Borrow the -pthread substitution magic from x11-toolkits/qt32.
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