summaryrefslogtreecommitdiff
path: root/editors/lyx-qt/Makefile
blob: a877e2d823d4a452495cabe04098f7f92d04a2eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: Makefile,v 1.36 2009/02/09 22:56:23 joerg Exp $
#

PKG_DESTDIR_SUPPORT=	user-destdir

.include "./Makefile.common"

PKGNAME=	${DISTNAME:S/lyx-/lyx-qt-/}
PKGREVISION=	1

COMMENT+=	(QT version)

CONFLICTS+=	lyx-xforms-[0-9]*

CONFIGURE_ARGS+=	--with-extra-prefix=${BUILDLINK_PREFIX.qt3-libs} \
			--with-qt-dir=${QTDIR:Q} \
			--with-qt-includes=${BUILDLINK_PREFIX.qt3-libs}/qt3/include \
			--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-libs/buildlink3.mk"
.include "../../x11/qt3-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"