From: Bryan Drewery <bdrew...@freebsd.org>
Subject: Re: How to change PATH setting of poudriere,Re: How to change PATH 
setting of poudriere
Date: Thu, 14 May 2020 14:09:40 -0700

> But I think the make.conf method should work fine. PATH is passed down
> in MAKE_ENV and CONFIGURE_ENV but exporting it might be needed.
> 
>     PATH:= ${PATH}:/opt/bin
>     .export PATH

Thank you for reply. I added above lines to make.conf but resulted in
error that "Variable PATH is recursive". So I changed as follwing.

    PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/sbin:/opt/bin:${HOME}/bin
    .export PATH

Then build progressed but failed in other port. And error seems to be
nothing to do with PATH setting. So let me change my question.

In general what settings are necessary to build and install ports with
non default LOCALBASE?

I though following 2 settings are sufficient.

1. Set LOCALBASE in make.conf
2. Change setting of PATH environment variable so it includes
   ${LOCALBASE}/bin (and ${LOCALBASE}/sbin too?)

However, in reality, some ports failed to build with them.

Then are any other settings necessary or does it caused by any other
reason (e.g. problme of failed ports, some other setting for poudriere
specific, etc.)?

Best Regards.

---
Yasuhiro KIMURA
_______________________________________________
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