Makefile RUN_DEPENDS= option

Ernie Luzar luzar722 at gmail.com
Tue Nov 14 21:05:20 UTC 2017


Have a simple port that needs wget to work.

I want RUN_DEPENDS to first check if wget is already installed, IE: is 
the running executable in the search path whether installed as a 
compiled port or installed as a package and if so bypass any more wget 
processing. If running executable not found then to auto install using 
pkg version and if not found there to do port compile method.

How would I code that?


More information about the freebsd-ports mailing list