summaryrefslogtreecommitdiff
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
commit52fd3c55941556761e4c053396b119a55b2df5c8 (patch)
tree64a9c805a5917e04a0fdf2783a7c754e142ddb4b
parent4ed286905d5ab50b4adb24229c1db804071d0ecc (diff)
downloadpkgsrc-52fd3c55941556761e4c053396b119a55b2df5c8.tar.gz
Set qt_cv_libname=-lqt-mt in the configure environment
because didn't link with pthread during the configure check.
-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"