blob: 473cd1bb9d7c26425a7e7a8990db5229c1fe92d7 (
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
28
29
30
31
32
33
34
35
|
# $NetBSD: buildlink3.mk,v 1.8 2006/04/12 10:27:43 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QT2_LIBS_BUILDLINK3_MK:= ${QT2_LIBS_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= qt2-libs
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqt2-libs}
BUILDLINK_PACKAGES+= qt2-libs
.if !empty(QT2_LIBS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qt2-libs+= qt2-libs>=2.3.1nb2
BUILDLINK_ABI_DEPENDS.qt2-libs+= qt2-libs>=2.3.1nb8
BUILDLINK_PKGSRCDIR.qt2-libs?= ../../x11/qt2-libs
BUILDLINK_INCDIRS.qt2-libs= qt2/include
BUILDLINK_LIBDIRS.qt2-libs= qt2/lib
.endif # QT2_LIBS_BUILDLINK3_MK
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/Xft2/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/mng/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
QTDIR= ${BUILDLINK_PREFIX.qt2-libs}/qt2
CONFIGURE_ENV+= QTDIR=${QTDIR:Q}
CONFIGURE_ENV+= MOC="${QTDIR}/bin/moc"
MAKE_ENV+= QTDIR=${QTDIR:Q}
MAKE_ENV+= MOC="${QTDIR}/bin/moc"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|