diff options
author | mi <mi@FreeBSD.org> | 2003-10-27 00:01:47 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2003-10-27 00:01:47 +0800 |
commit | ce672aa762e44f14b18eea4cd7f2643f171e0563 (patch) | |
tree | f60546661cf72e81e9718f510f5a72191e887634 /devel/qmake | |
parent | 0958d962e967333d7dc1c9dc39d62e659b90934d (diff) | |
download | freebsd-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/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 |