tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: OK to inject BUILDLINK_PASSTHRU_RPATHDIRS into lang/rust?



* On 2025-04-11 at 16:26 BST, Dr. Thomas Orgis wrote:

I had a variant of this patch for quite some time, now after adaptation
for moved sources. It still seems to do the job: Making rustc link to
the toolchain libraries that I provide. Please ignore for now why the
toolchain doesn't add the paths itself. There are reasons for
BUILDLINK_PASSTHROUGH_RPATHDIRS and I use it to inject paths into the
normal builds.

I don't like this, FWIW. Any time I've needed to have custom hacks to support my custom environment I've kept them in my own trees. The rust package is already far too complicated in my opinion, and personally I'd prefer to limit it to what is absolutely essential for most users.

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index