Date: Fri, 4 Sep 2020 15:57:33 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547546 - head/deskutils/syncthingtray Message-ID: <202009041557.084FvXXh008380@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009041557.084FvXXh008380>