> On 14 Nov, 2017, at 14:05, Ernie Luzar <luzar...@gmail.com> wrote:
> 
> 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?

That won't work. Ports are built in poudriere, and poudriere expects a clean 
system. If you don't depend on wget, wget will NEVER be available.

Additionally, network access is explicitly disabled for everything except the 
fetch target, so you can't rely on wget doing anything.

# Adam


-- 
Adam Weinberger
ad...@adamw.org
https://www.adamw.org

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to