On Mon, Mar 3, 2025 at 7:59 PM Igor Kolesnik <[email protected]> wrote:
>
> Hi;
>
> I'm makeing a port, let's say 'foo'.  It has a build dependency on a
> port 'bar'.
>
> In order to build 'foo' I need to know the installation directory of
> 'bar'.
>
> In the foo's Makefile I can write
>
> `pkg info -pq`/bar
>
> I wonder if there is another, a better, way of getting that information?
>
> thanks -- igor
>

Ports are expected to locate their dependencies under the ${LOCALBASE} prefix.

Reply via email to