-
Notifications
You must be signed in to change notification settings - Fork 136
Building on FreeBSD
Building on FreeBSD, much like Linux support, is made possible with cctools-port. To setup Procursus on FreeBSD
-
Install dependencies
You can install dependencies with
pkgsudo pkg autoconf automake bash cmake coreutils docbook-xsl dpkg fakeroot findutils gettext git gmake gnugrep gnupg gsed gtar libtool ncurses openssl patch perl5 pkgconf po4a python39 wget zstdYou'll also need to install
triehashwget -O triehash https://raw.githubusercontent.com/julian-klode/triehash/main/triehash.pl gsed -i 's|#!/usr/bin/perl -w|#!/usr/bin/env perl -w|g' triehash sudo mv triehash /usr/local/bin -
Setup your iOS toolchain
This script will setup your SDKs, cctools-port with your iOS toolchain, and other dependencies needed.
To run the script
bash procursus-utils-fbsd.shIt's recommended that you add this script to your shells' config file, so that it's sourced on every enviorment on login.
echo "source procursus-utils-fbsd.sh" > .profileThen, reload your shell or reload your shells' config file.
source procursus-utils-fbsd.sh -
Clone the Procursus project
git clone --recursive https://github.com/ProcursusTeam/Procursus.git -
Build!
To check whether you did everything correctly, attempt to build
bash. Checkout the Build options page to see what valid options can be passedmake bash [OPTIONS]If the build is successful, congrats!. You should now be able to compile packages from Procursus.
Similar to other supported platforms, it's likely that some packages (particularly those that need Go, Python, and/or NodeJS) will fail to compile. You'll need a macOS build system if this is the case.