blob: 55f9a0a786637b400a6f02b1d03bd3cfb97f802e (
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
|
# $NetBSD: buildlink2.mk,v 1.6 2003/10/18 12:10:06 markd 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,${RPATH_FLAG}${QTDIR}/lib
FIX_RPATH+= BUILDLINK_LDFLAGS.qt2-libs
.include "../../devel/zlib/buildlink2.mk"
.include "../../fonts/Xft2/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,${RPATH_FLAG}${QTDIR}/lib
BUILDLINK_TARGETS+= qt2-libs-buildlink
qt2-libs-buildlink: _BUILDLINK_USE
.endif # QT2_LIBS_BUILDLINK2_MK
|