blob: 6fcde7b756881548d029420eaa7582a7684b18a8 (
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
|
# $NetBSD: buildlink2.mk,v 1.4 2003/03/12 22:07:30 jschauma Exp $
.if !defined(QT2_LIBS_BUILDLINK2_MK)
QT2_LIBS_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= qt2-libs
BUILDLINK_DEPENDS.qt2-libs?= qt2-libs>=2.3.1nb2
BUILDLINK_PKGSRCDIR.qt2-libs?= ../../x11/qt2-libs
EVAL_PREFIX+= BUILDLINK_PREFIX.qt2-libs=qt2-libs
BUILDLINK_PREFIX.qt2-libs_DEFAULT= ${X11PREFIX}
BUILDLINK_FILES.qt2-libs+= qt2/include/*.h
BUILDLINK_FILES.qt2-libs+= qt2/lib/libqt.*
QTDIR= ${BUILDLINK_PREFIX.qt2-libs}/qt2
BUILDLINK_CPPFLAGS.qt2-libs= -I${QTDIR}/include
BUILDLINK_LDFLAGS.qt2-libs= -L${QTDIR}/lib -Wl,-R${QTDIR}/lib
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/MesaLib/buildlink2.mk"
.include "../../graphics/glu/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/mng/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
CONFIGURE_ENV+= QTDIR="${QTDIR}"
CONFIGURE_ENV+= MOC="${QTDIR}/bin/moc"
MAKE_ENV+= QTDIR="${QTDIR}"
MAKE_ENV+= MOC="${QTDIR}/bin/moc"
LDFLAGS+= -Wl,-R${QTDIR}/lib
BUILDLINK_TARGETS+= qt2-libs-buildlink
qt2-libs-buildlink: _BUILDLINK_USE
.endif # QT2_LIBS_BUILDLINK2_MK
|