Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2020 10:00:32 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: How to change PATH setting of poudriere
Message-ID:  <20200515.100032.2170535329108358923.yasu@utahime.org>
In-Reply-To: <1b409d0c-9e70-ba1a-c1dc-98f332d5f169@FreeBSD.org>
References:  <20200514.170414.2224930171617974842.yasu@utahime.org> <20200514.170414.2224930171617974842.yasu@utahime.org> <1b409d0c-9e70-ba1a-c1dc-98f332d5f169@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Bryan Drewery <bdrewery@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200515.100032.2170535329108358923.yasu>