diff options
author | jlam <jlam> | 2002-08-25 18:38:05 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-08-25 18:38:05 +0000 |
commit | f22b8c42a61ccfbb462bf2b94c3486b7baec18bd (patch) | |
tree | d2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /x11/qt3-libs/buildlink2.mk | |
parent | 71eaa77968f19e23d72fdc88e5f38259b8f7cdf3 (diff) | |
download | pkgsrc-f22b8c42a61ccfbb462bf2b94c3486b7baec18bd.tar.gz |
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
Diffstat (limited to 'x11/qt3-libs/buildlink2.mk')
-rw-r--r-- | x11/qt3-libs/buildlink2.mk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/x11/qt3-libs/buildlink2.mk b/x11/qt3-libs/buildlink2.mk new file mode 100644 index 00000000000..1b8441de487 --- /dev/null +++ b/x11/qt3-libs/buildlink2.mk @@ -0,0 +1,34 @@ +# $NetBSD + +.if !defined(QT3_LIBS_BUILDLINK2_MK) +QT3_LIBS_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= qt3-libs +BUILDLINK_DEPENDS.qt3-libs?= qt3-libs>=3.0.4nb2 +BUILDLINK_PKGSRCDIR.qt3-libs?= ../../x11/qt3-libs + +EVAL_PREFIX+= BUILDLINK_PREFIX.qt3-libs=qt3-libs +BUILDLINK_PREFIX.qt3-libs_DEFAULT= ${X11PREFIX} +BUILDLINK_FILES.qt3-libs+= qt3/include/*.h +BUILDLINK_FILES.qt3-libs+= qt3/include/private/*.h +BUILDLINK_FILES.qt3-libs+= qt3/lib/libqt-mt.* + +QTDIR= ${BUILDLINK_PREFIX.qt3-libs}/qt3 + +.include "../../devel/zlib/buildlink2.mk" +.include "../../graphics/Mesa/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+= qt3-libs-buildlink + +qt3-libs-buildlink: _BUILDLINK_USE + +.endif # QT3_LIBS_BUILDLINK2_MK |