git: f20d2bad494d - main - misc/orange3: use webkit on architectures where webengine doesn't work
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Nov 2021 02:41:57 UTC
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