blob: 57116fa9644563566f1ac789b9b35c4066fa621a (
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
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: buildlink3.mk,v 1.33 2013/06/03 10:06:23 wiz Exp $
BUILDLINK_TREE+= qt3-libs
.if !defined(QT3_LIBS_BUILDLINK3_MK)
QT3_LIBS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.qt3-libs+= qt3-libs>=3.2.3
BUILDLINK_ABI_DEPENDS.qt3-libs+= qt3-libs>=3.3.8nb23
BUILDLINK_PKGSRCDIR.qt3-libs?= ../../x11/qt3-libs
BUILDLINK_INCDIRS.qt3-libs+= qt3/include
BUILDLINK_LIBDIRS.qt3-libs+= qt3/lib
QTDIR= ${BUILDLINK_PREFIX.qt3-libs}/qt3
.include "../../mk/bsd.fast.prefs.mk"
PTHREAD_OPTS+= require
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/mng/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libXcursor/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.if ${X11_TYPE} == "modular"
.include "../../x11/libXinerama/buildlink3.mk"
.endif
.include "../../mk/pthread.buildlink3.mk"
CONFIGURE_ENV+= MOC="${QTDIR}/bin/moc"
MAKE_ENV+= MOC="${QTDIR}/bin/moc"
#LDFLAGS+= ${COMPILER_RPATH_FLAG}${QTDIR}/lib
.if !defined(BUILD_QT3)
CONFIGURE_ENV+= QTDIR=${QTDIR:Q}
MAKE_ENV+= QTDIR=${QTDIR:Q}
.endif
.endif # QT3_LIBS_BUILDLINK3_MK
BUILDLINK_TREE+= -qt3-libs
|