From c18f55cc94abf72a94a67a686eab3266dd7972f8 Mon Sep 17 00:00:00 2001 From: Mikhail Teterin Date: Sun, 26 Oct 2003 16:01:47 +0000 Subject: Borrow the -pthread substitution magic from x11-toolkits/qt32. --- devel/qmake/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'devel/qmake') 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 -- cgit v1.2.3