summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/qt5-qtsensors/Makefile8
-rw-r--r--x11/qt5-qtsensors/PLIST.Linux6
2 files changed, 10 insertions, 4 deletions
diff --git a/x11/qt5-qtsensors/Makefile b/x11/qt5-qtsensors/Makefile
index 899e6f0f5f4..3cf2293939d 100644
--- a/x11/qt5-qtsensors/Makefile
+++ b/x11/qt5-qtsensors/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2020/09/14 20:08:28 adam Exp $
+# $NetBSD: Makefile,v 1.48 2020/10/12 19:46:00 mcf Exp $
DISTNAME= qtsensors-everywhere-src-${QTVERSION}
PKGNAME= qt5-qtsensors-${QTVERSION}
@@ -18,6 +18,12 @@ post-install:
${LN} -f -s ${QTPREFIX}/lib/pkgconfig/${i} ${i}
.endfor
+PLIST_VARS+= dbus
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.if ${PKG_BUILD_OPTIONS.qt5-qtbase:Mdbus}
+PLIST.dbus= yes
+.endif
+
.include "../../x11/qt5-qtdeclarative/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/qt5-qtsensors/PLIST.Linux b/x11/qt5-qtsensors/PLIST.Linux
index acb354243ac..717d099fdf1 100644
--- a/x11/qt5-qtsensors/PLIST.Linux
+++ b/x11/qt5-qtsensors/PLIST.Linux
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST.Linux,v 1.1 2019/03/29 19:05:48 markd Exp $
-qt5/lib/cmake/Qt5Sensors/Qt5Sensors_IIOSensorProxySensorPlugin.cmake
+@comment $NetBSD: PLIST.Linux,v 1.2 2020/10/12 19:46:00 mcf Exp $
+${PLIST.dbus}qt5/lib/cmake/Qt5Sensors/Qt5Sensors_IIOSensorProxySensorPlugin.cmake
qt5/lib/cmake/Qt5Sensors/Qt5Sensors_LinuxSensorPlugin.cmake
-qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
+${PLIST.dbus}qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
qt5/plugins/sensors/libqtsensors_linuxsys.so