Date: Tue, 14 Nov 2017 16:05:17 -0500 From: Ernie Luzar <luzar722@gmail.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>, "ports@FreeBSD.org" <ports@freebsd.org> Subject: Makefile RUN_DEPENDS= option Message-ID: <5A0B5A8D.107@gmail.com>
next in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5A0B5A8D.107>