pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/vtk vtk: add qt option to buildlink



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a684bdc1ab89
branches:  trunk
changeset: 452408:a684bdc1ab89
user:      thor <thor%pkgsrc.org@localhost>
date:      Sun May 09 15:09:23 2021 +0000

description:
vtk: add qt option to buildlink

diffstat:

 graphics/vtk/buildlink3.mk |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r d625c4f5a152 -r a684bdc1ab89 graphics/vtk/buildlink3.mk
--- a/graphics/vtk/buildlink3.mk        Sun May 09 15:01:23 2021 +0000
+++ b/graphics/vtk/buildlink3.mk        Sun May 09 15:09:23 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2021/05/04 14:48:34 prlw1 Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2021/05/09 15:09:23 thor Exp $
 
 BUILDLINK_TREE+=       vtk
 
@@ -25,6 +25,14 @@
 .include "../../textproc/jsoncpp/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../textproc/pugixml/buildlink3.mk"
+
+pkgbase := vtk
+.include "../../mk/pkg-build-options.mk"
+
+.if ${PKG_BUILD_OPTIONS.vtk:Mqt}
+.  include "../../x11/qt5-qtbase/buildlink3.mk"
+.endif
+
 .endif # VTK_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -vtk



Home | Main Index | Thread Index | Old Index