Improve FreeBSD compatibility

First draft. Need to investigate why upstream patches include certain
function that appear to exist in FreeBSD 14.2.
This commit is contained in:
Antonio SJ Musumeci 2025-01-12 14:55:04 -06:00
parent dd906c8a4c
commit b83bd5fd14
10 changed files with 117 additions and 27 deletions

View file

@ -33,9 +33,9 @@ $ su -
# rpm -i rpmbuild/RPMS/<arch>/mergerfs-<version>.<arch>.rpm
```
## Generic
## Generic Linux
Have git, g++, make, python installed.
Have git, g++ or clang, make, python installed.
```
@ -44,6 +44,17 @@ $ make
$ sudo make install
```
## FreeBSD
Have git, g++ or clang, gmake, python installed.
```
$ cd mergerfs
$ gmake
$ gmake install # as root
```
## Build options
```