diff options
Diffstat (limited to 'devel/qmake')
-rw-r--r-- | devel/qmake/Makefile | 2 |
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 |