Install freebsd-buildutils by entering the following commands in the terminal:
sudo apt update sudo apt install freebsd-buildutils
Description:
Utilities for building FreeBSD sources
This package contains the FreeBSD counterparts of some standard build utilities (make, mkdep, lex ..) . They have some specific modifications needed to be able to build FreeBSD sources.
Version: 10.3~svn296373-7
Section: universe/devel