diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-26 17:45:27 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-26 17:45:27 +0000 |
commit | dcec27db288aed0cee2831045021e516d3c5f3ee (patch) | |
tree | af048f3083fe8d622d1b196fead0c1e38cf21e43 /x11/qt2-libs | |
parent | a22f309d5f990281d9a0b70f396e6ec72a1d9bb5 (diff) | |
download | pkgsrc-dcec27db288aed0cee2831045021e516d3c5f3ee.tar.gz |
Define BUILDLINK_QTDIR and QTDIR, and pass settings for QTDIR and MOC to
CONFIGURE_ENV and MAKE_ENV.
Diffstat (limited to 'x11/qt2-libs')
-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} |