Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 2021 02:41:57 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f20d2bad494d - main - misc/orange3: use webkit on architectures where webengine doesn't work
Message-ID:  <202111010241.1A12fvDU063384@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

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

    misc/orange3: use webkit on architectures where webengine doesn't work
---
 misc/orange3/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/misc/orange3/Makefile b/misc/orange3/Makefile
index 3f9332204e59..52243307f749 100644
--- a/misc/orange3/Makefile
+++ b/misc/orange3/Makefile
@@ -50,6 +50,14 @@ GH_ACCOUNT=	biolab
 CFLAGS+=	-DQSORT_R_STYLE_BSD=yes
 LDFLAGS+=	-Xlinker -strip-all # strip, stage-qa doesn't catch that it isn't stripped
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386
+USE_PYQT+=	webengine_run
+.else
+USE_PYQT+=	webkit_run
+.endif
+
 xpost-install:
 	@${REINPLACE_CMD} -e 's|^"${PREFIX}/|| ; s|"$$||' ${_PYTHONPKGLIST} # https://github.com/biolab/orange3/issues/3060
 	@${REINPLACE_CMD} -e 's|import sys|& ; from OpenGL import GL|' ${STAGEDIR}${PREFIX}/bin/orange-canvas # https://github.com/biolab/orange3/issues/3062



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111010241.1A12fvDU063384>