summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2006-04-08 17:34:02 +0000
committerreed <reed@pkgsrc.org>2006-04-08 17:34:02 +0000
commitbf6d3f15de5e0d8ea60fac782c1124d8754f4072 (patch)
tree64a9c805a5917e04a0fdf2783a7c754e142ddb4b /editors
parentedb8f1cb3ab158784073f195c16349ea50b0e0ce (diff)
downloadpkgsrc-bf6d3f15de5e0d8ea60fac782c1124d8754f4072.tar.gz
Set qt_cv_libname=-lqt-mt in the configure environment
because didn't link with pthread during the configure check.
Diffstat (limited to 'editors')
-rw-r--r--editors/lyx-qt/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/editors/lyx-qt/Makefile b/editors/lyx-qt/Makefile
index 093c9fad649..cd5980f95d0 100644
--- a/editors/lyx-qt/Makefile
+++ b/editors/lyx-qt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2006/04/07 00:54:25 minskim Exp $
+# $NetBSD: Makefile,v 1.28 2006/04/08 17:34:02 reed Exp $
#
.include "./Makefile.common"
@@ -16,5 +16,9 @@ CONFIGURE_ARGS+= --with-extra-prefix=${BUILDLINK_PREFIX.qt3-libs} \
--with-qt-libraries=${BUILDLINK_PREFIX.qt3-libs}/qt3/lib \
--with-frontend=qt
+# The following is a work-around because $PREFIX/qt3/lib/libqt-mt.so
+# didn't link with pthread during the configure check.
+CONFIGURE_ENV+= qt_cv_libname=-lqt-mt
+
.include "../../x11/qt3-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"