# $NetBSD: buildlink3.mk,v 1.2 2004/04/11 22:46:49 snj 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 .if !empty(QT2_LIBS_BUILDLINK3_MK:M+) BUILDLINK_DEPENDS.qt2-libs+= qt2-libs>=2.3.1nb2 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}" CONFIGURE_ENV+= MOC="${QTDIR}/bin/moc" MAKE_ENV+= QTDIR="${QTDIR}" MAKE_ENV+= MOC="${QTDIR}/bin/moc" BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}