Is there a way to build only the port from source, and install dependencies from packages with the make command?

Yuri yuri at rawbw.com
Tue Apr 30 17:35:32 UTC 2019


Sometimes instructions to build some port from source are needed. "cd 
/usr/ports/{caregory}/{port-name} && make" rebuilds everything from 
source, including dependencies.

Is there an easy way to make it install missing dependencies with pkg, 
without listing them? I couldn't find such feature.


This can be useful:

1. When some software's README describes how to install it on FreeBSD 
from source.

2. When developers need to compile from source only a specific port 
without waiting for dependencies to build.


Yuri




More information about the freebsd-ports mailing list