summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/qt2-designer/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/x11/qt2-designer/Makefile b/x11/qt2-designer/Makefile
index 4373b7daec8..09a7ad93e6e 100644
--- a/x11/qt2-designer/Makefile
+++ b/x11/qt2-designer/Makefile
@@ -1,22 +1,23 @@
-# $NetBSD: Makefile,v 1.10 2001/05/14 17:09:26 drochner Exp $
+# $NetBSD: Makefile,v 1.11 2001/06/23 19:36:03 jlam Exp $
#
.include "../qt2-libs/Makefile.common"
PKGNAME= qt2-designer-${QTVERSION}
-
COMMENT= Visual (WYSIWYG) QT GUI builder
-DEPENDS+= qt2-libs-${QTVERSION}:../../x11/qt2-libs
+USE_BUILDLINK_ONLY= yes
+BUILDLINK_DEPENDS.qt2-libs= qt2-libs-${QTVERSION}
ALL_TARGET= sub-tools
-CONFIGURE_ENV+= QTDIR="${QTPREFIX}"
-MAKE_ENV+= QTDIR=${QTPREFIX}
+CONFIGURE_ENV+= QTDIR="${BUILDLINK_DIR}/qt2"
+MAKE_ENV+= QTDIR="${BUILDLINK_DIR}/qt2"
do-install:
${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/tools/designer/util/libqutil.la ${QTPREFIX}/lib
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/tools/designer/uic/uic ${QTPREFIX}/bin
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/tools/designer/designer/designer ${QTPREFIX}/bin
+.include "../../x11/qt2-libs/buildlink.mk"
.include "../../mk/bsd.pkg.mk"