diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2003-10-05 10:07:09 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2003-10-05 10:07:09 +0000 |
commit | ca92f26b3851c4245e462ba5ebe1f7e2828f3ae7 (patch) | |
tree | 47c5b136a8bbc783fb28ecb76ee666145fa6ffe0 /x11/qt3-libs | |
parent | 4f5945d239ead907ba6a40734c976a6f264f1001 (diff) | |
download | pkgsrc-ca92f26b3851c4245e462ba5ebe1f7e2828f3ae7.tar.gz |
Replace -lpthread with ${PTHREAD_LDFLAGS}. (Fixes my build on FreeBSD 5.x).
Ok'ed by skrll@
Diffstat (limited to 'x11/qt3-libs')
-rw-r--r-- | x11/qt3-libs/Makefile.common | 3 | ||||
-rw-r--r-- | x11/qt3-libs/files/qmake.conf | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/x11/qt3-libs/Makefile.common b/x11/qt3-libs/Makefile.common index a2f76d79f31..1925b58b684 100644 --- a/x11/qt3-libs/Makefile.common +++ b/x11/qt3-libs/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.23 2003/09/28 05:27:06 grant Exp $ +# $NetBSD: Makefile.common,v 1.24 2003/10/05 10:07:09 xtraeme Exp $ # DISTNAME= qt-x11-free-${QTVERSION} CATEGORIES= x11 @@ -86,6 +86,7 @@ post-patch: -e 's:@YACC@:${YACC}:g' \ -e 's:@AR@:${AR}:g' \ -e 's:@LIBQT@:${LIBQT}:g' \ + -e 's:@PTHREAD_LDFLAGS@:${PTHREAD_LDFLAGS}:g' \ ${FILESDIR}/qmake.conf > ${WRKSRC}/qmake.conf for dir in ${WRKSRC}/mkspecs/*; do \ ${CP} ${WRKSRC}/qmake.conf $${dir}; \ diff --git a/x11/qt3-libs/files/qmake.conf b/x11/qt3-libs/files/qmake.conf index 0bfd80073ce..131fc2f4c8e 100644 --- a/x11/qt3-libs/files/qmake.conf +++ b/x11/qt3-libs/files/qmake.conf @@ -1,5 +1,5 @@ -# $NetBSD: qmake.conf,v 1.10 2003/09/28 05:27:06 grant Exp $ -# $Id: qmake.conf,v 1.10 2003/09/28 05:27:06 grant Exp $ +# $NetBSD: qmake.conf,v 1.11 2003/10/05 10:07:09 xtraeme Exp $ +# $Id: qmake.conf,v 1.11 2003/10/05 10:07:09 xtraeme Exp $ # # qmake configuration for netbsd-g++ # @@ -75,7 +75,7 @@ QMAKE_LIBS_X11 = -lXext -lX11 -lm @SYS_LIBS@ QMAKE_LIBS_X11SM = -lICE -lSM QMAKE_LIBS_QT = @LIBQT@ QMAKE_LIBS_QT_THREAD = @LIBQT@ -QMAKE_LIBS_THREAD = -lpthread +QMAKE_LIBS_THREAD = @PTHREAD_LDFLAGS@ QMAKE_LIBS_OPENGL = -lGLU -lGL -lXmu QMAKE_LIBS_OPENGL_QT = -lGL -lXmu |