Date: Tue, 30 Jun 2020 19:00:56 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 247666] games/anki: update to new build system Message-ID: <bug-247666-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247666 Bug ID: 247666 Summary: games/anki: update to new build system Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: kai@FreeBSD.org Reporter: fbsd-bugzilla@schlachter.ca Assignee: kai@FreeBSD.org Flags: maintainer-feedback?(kai@FreeBSD.org) As noted in the ports commit history, Anki uses a new set of build scripts since version 2.1.17 (Jan 2020). I opened this bug report to organize notes about updating the port to the new build system. Changes necessary to build: - set USE_GITHUB to get latest source release - use gmake instead of make - bash required to build - change all hardcoded paths to bash in the build scripts from /bin/bash to /usr/local/bin/bash (about 15 occurrences) - set the PYTHON_BIN make environment variable to the actual python binary's name (rather than default "python3" in Makefile) (can be set with ports variable PYTHON_CMD?) Changes that might be needed: - build script attempts to fetch a pyqt5 5.13.2 with pip, which seemed to f= ail. Maybe add as a dependency and install with ports instead? - build script attempts to install maturin with pip, which fails when build= ing native module with rust ('building wheel'). However, continuous integration= for maturin shows successful FreeBSD builds: https://cirrus-ci.com/github/PyO3/maturin https://github.com/PyO3/maturin/blob/master/.cirrus.yml I tried building maturin according to the steps in cirrus.yml and it built fine. Maybe we need a maturin port? Other possible changes that might be needed (need to investigate): - prefix isn't specified in build script anymore, not sure how this is hand= led. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247666-7788>