git: fbf47a8a6099 - main - graphics/kgeotag: only use webengine where it's actually supported

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 01 Nov 2021 02:41:54 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fbf47a8a60990218d71e8828065b1cab3d75bfb9

commit fbf47a8a60990218d71e8828065b1cab3d75bfb9
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-11-01 02:40:28 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-11-01 02:40:28 +0000

    graphics/kgeotag: only use webengine where it's actually supported
---
 graphics/kgeotag/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/graphics/kgeotag/Makefile b/graphics/kgeotag/Makefile
index cea87c9b0ff1..a8b731dde9fe 100644
--- a/graphics/kgeotag/Makefile
+++ b/graphics/kgeotag/Makefile
@@ -17,7 +17,13 @@ USE_KDE=	coreaddons config configwidgets crash i18n libkexiv2 \
 		ecm_build
 # From stage-qa; these are not checked explicitly, but link
 # transitively though other KDE components (mostly Marble).
-USE_QT+=	dbus declarative location network printsupport webchannel webengine xml
+USE_QT+=	dbus declarative location network printsupport webchannel xml
 USE_KDE+=	auth codecs widgetsaddons
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386
+USE_QT+=	webengine
+.endif
+
 .include <bsd.port.mk>