diff options
-rw-r--r-- | x11/qt2-libs/buildlink.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/x11/qt2-libs/buildlink.mk b/x11/qt2-libs/buildlink.mk index 15f664813fc..4e3e8351117 100644 --- a/x11/qt2-libs/buildlink.mk +++ b/x11/qt2-libs/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.2 2001/06/23 21:02:22 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.3 2001/06/26 17:45:27 jlam Exp $ # # This Makefile fragment is included by packages that use qt2-libs. # @@ -23,7 +23,9 @@ BUILDLINK_FILES.qt2-libs= qt2/bin/moc BUILDLINK_FILES.qt2-libs+= qt2/include/*.h BUILDLINK_FILES.qt2-libs+= qt2/lib/libqt.* -BUILDLINK_FIX_LIBTOOL_SED+= -e "s|-L${BUILDLINK_DIR}/qt2/|-L${X11PREFIX}/qt2/|g" +BUILDLINK_QTDIR= ${BUILDLINK_DIR}/qt2 +QTDIR= ${X11PREFIX}/qt2 +BUILDLINK_FIX_LIBTOOL_SED+= -e "s|-L${BUILDLINK_QTDIR}/|-L${QTDIR}/|g" .include "../../devel/zlib/buildlink.mk" .include "../../graphics/jpeg/buildlink.mk" @@ -31,6 +33,11 @@ BUILDLINK_FIX_LIBTOOL_SED+= -e "s|-L${BUILDLINK_DIR}/qt2/|-L${X11PREFIX}/qt2 .include "../../graphics/mng/buildlink.mk" .include "../../graphics/png/buildlink.mk" +CONFIGURE_ENV+= QTDIR="${BUILDLINK_QTDIR}" +CONFIGURE_ENV+= MOC="${BUILDLINK_QTDIR}/bin/moc" +MAKE_ENV+= QTDIR="${BUILDLINK_QTDIR}" +MAKE_ENV+= MOC="${BUILDLINK_QTDIR}/bin/moc" + BUILDLINK_TARGETS.qt2-libs= qt2-libs-buildlink BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.qt2-libs} |