unset or change CPATH/LIBRARY_PATH for build in a portfile

christos koninis christos.koninis at gmail.com
Sun Sep 10 18:18:29 UTC 2023


Thanks Joshua for the quick response, it worked perfectly!

On Sun, 10 Sept 2023 at 19:39, Joshua Root <jmr at macports.org> wrote:

> On 11/9/2023 00:58, christos koninis wrote:
> > Hello all,
> >
> > Is there any way to unset or change the CPATH/LIBRARY_PATH environment
> > variables in a portfile during the build?
> > I have tried
> >
> > build.env-delete        CPATH
> > build.env               CPATH=something
> >
> > but they don't seem to be working.
>
> The relevant options are compiler.cpath and compiler.library_path.
>
> - Josh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20230910/32ec7e50/attachment.htm>


More information about the macports-dev mailing list