# $NetBSD: buildlink2.mk,v 1.7 2004/04/11 20:55:43 snj 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 .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