svn commit: r547546 - head/deskutils/syncthingtray

Piotr Kubaj pkubaj at FreeBSD.org
Fri Sep 4 15:57:34 UTC 2020


Author: pkubaj
Date: Fri Sep  4 15:57:33 2020
New Revision: 547546
URL: https://svnweb.freebsd.org/changeset/ports/547546

Log:
  deskutils/syncthingtray: fix build on non-x86
  
  Don't use webengine on non-x86, instead use webkit.

Modified:
  head/deskutils/syncthingtray/Makefile

Modified: head/deskutils/syncthingtray/Makefile
==============================================================================
--- head/deskutils/syncthingtray/Makefile	Fri Sep  4 15:25:01 2020	(r547545)
+++ head/deskutils/syncthingtray/Makefile	Fri Sep  4 15:57:33 2020	(r547546)
@@ -26,7 +26,7 @@ GH_TUPLE=	Martchus:${PORTNAME}:${DISTVERSIONPREFIX}${D
 
 USE_KDE=	plasma-framework
 USE_QT=		concurrent core dbus declarative gui location network \
-		printsupport qdbus quickcontrols2 svg webchannel webengine \
+		printsupport qdbus quickcontrols2 svg webchannel \
 		widgets x11extras buildtools_build doc_build linguist_build \
 		qmake_build
 
@@ -37,6 +37,15 @@ BUILD_WRKSRC=		${WRKDIR}
 INSTALL_WRKSRC=		${WRKDIR}
 CMAKE_SOURCE_PATH=	${WRKDIR}/subdirs/syncthingtray
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == amd64 || ${ARCH} == i386
+USE_QT+=	webengine
+.else
+CMAKE_ARGS+=	-DWEBVIEW_PROVIDER=webkit
+USE_QT+=	webkit
+.endif
+
 post-install:
 	${RM} -r \
 		${STAGEDIR}${PREFIX}/include/c++utilities \
@@ -66,4 +75,4 @@ post-install:
 		${STAGEDIR}${QT_PLUGINDIR} \
 		${STAGEDIR}${QT_LIBDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list