blob: 9a12a079f39015e0fc90d5947bce68a3e329f1d9 (
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
36
|
# $NetBSD: buildlink3.mk,v 1.12 2006/12/15 20:33:04 joerg 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
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}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.1nb9
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 "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/mng/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../x11/libXft/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/+$//}
|