Stuart Henderson wrote: > On 2021/01/08 14:49, Steve Williams wrote: >> I want to work on a port that is a pet project (guacamole/xfreerdp). >> There are a bunch of dependencies on the port and I was wondering if >> there is an easy way to either >> >> 1) Tell the ports system to use packages to fulfill any dependencies
See Stuard's response. If you want to make it permanent, you can echo "FETCH_PACKAGES=" >> /etc/mk.conf >> 2) generate a list of dependencies that can be fed to pkg_add Read ports(7) $ make print-build-depends $ make print-run-depends >> I have been manually adding the packages based on the dependencies in >> the ports Makefile, but after doing this manual process a bunch of >> times (yes, I finally made a shell script), I was wondering if there >> was an easier way. If you install a package, dependencies are installed as well. If you deinstall the package, you can deinstall unused dependencies with "pkg_delete -a". Be aware that manually installing dependencies marks them as manually installed and pkg_delete -a won't automatically delete them. Best Regards, Stefan