[Bug 247666] games/anki: update to new build system
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jun 30 19:00:57 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247666
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 at FreeBSD.org
Reporter: fbsd-bugzilla at schlachter.ca
Assignee: kai at FreeBSD.org
Flags: maintainer-feedback?(kai at 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 fail.
Maybe add as a dependency and install with ports instead?
- build script attempts to install maturin with pip, which fails when building
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 handled.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list