pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/qt3-libs Replace -lpthread with ${PTHREAD_LDFLAGS}...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1790db2ede7a
branches:  trunk
changeset: 462555:1790db2ede7a
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sun Oct 05 10:07:09 2003 +0000

description:
Replace -lpthread with ${PTHREAD_LDFLAGS}. (Fixes my build on FreeBSD 5.x).
Ok'ed by skrll@

diffstat:

 x11/qt3-libs/Makefile.common  |  3 ++-
 x11/qt3-libs/files/qmake.conf |  6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 51bfd74eae38 -r 1790db2ede7a x11/qt3-libs/Makefile.common
--- a/x11/qt3-libs/Makefile.common      Sun Oct 05 10:02:10 2003 +0000
+++ b/x11/qt3-libs/Makefile.common      Sun Oct 05 10:07:09 2003 +0000
@@ -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 @@
                -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 -r 51bfd74eae38 -r 1790db2ede7a x11/qt3-libs/files/qmake.conf
--- a/x11/qt3-libs/files/qmake.conf     Sun Oct 05 10:02:10 2003 +0000
+++ b/x11/qt3-libs/files/qmake.conf     Sun Oct 05 10:07:09 2003 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index