blob: 601a85ccc58421810ed57076819b3b194da91b5f (
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.11 2006/07/08 23:11:15 jlam 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 "../../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/+$//}
|