summaryrefslogtreecommitdiff
path: root/x11/qt3-libs
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2003-10-05 10:07:09 +0000
committerxtraeme <xtraeme>2003-10-05 10:07:09 +0000
commit037612d58ce2b205384fbf497603027b0ce8064c (patch)
tree47c5b136a8bbc783fb28ecb76ee666145fa6ffe0 /x11/qt3-libs
parent2805772eddc1fad4520ca2f4d5e52610aa879b72 (diff)
downloadpkgsrc-037612d58ce2b205384fbf497603027b0ce8064c.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.common3
-rw-r--r--x11/qt3-libs/files/qmake.conf6
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