CTSRD-CHERI / cheribsd-ports

FreeBSD ports tree adapted for CheriBSD.
https://CheriBSD.org
Other
5 stars 11 forks source link

Allow to install port dependencies using package managers #48

Closed kwitaszczyk closed 2 years ago

kwitaszczyk commented 2 years ago

This PR allows to install port dependencies from a remote package repository when the following variables are set:

USE_PACKAGE_DEPENDS=1
USE_PACKAGE_DEPENDS_REMOTE=1

It also allows to install port dependencies that aren't adapted to CheriABI yet, and are marked using USE_PKG64=1 in their Makefiles, using pkg64 if the following variable is set:

USE_PACKAGE_64_DEPENDS_ONLY=1

At the moment, autoconf, automake, cmake, meson, ninja, python39 (the default Python) and all Python ports installed in the site-packages tree are marked as allowed to be installed with pkg64.