FreeBSD
This is a general how-to for building myMPD on FreeBSD. It is highly recommended to check the FreeBSD handbook if you are unsure how software installation and building works.
FreeBSD 14 is fully supported. For FreeBSD 13 support the https://github.com/jiixyj/epoll-shim is required.
Building directly from the ports tree
This is the basic way to install myMPD on FreeBSD system and it is only advised for those using ports tree to install software directly.
It is expected you have /usr/ports populated.
- Copy the contents of
contrib/packaging/freebsd
to/usr/ports
-
Generate the checksums:
-
Install myMPD:
Building with poudriere
This is more advanced way to build packages for pkg(1) package manager. Consult the handbook how to setup the poudriere and its building jails.
I would use the poudriere's ports tree installed in /usr/local/poudriere/ports/local
, change this to your local setup.
- Copy the contents of
contrib/packaging/freebsd
to/usr/local/poudriere/ports/local
-
Generate the checksums:
-
If the previous step fails, you may need to create temporary symlink from
/usr/ports
to this local tree (revert it back afterwards): -
Build the myMPD package (consult the options with the handbook):
-
Install the package. You may need to add poudriere's repository if you haven't done that earlier.