cmake PG should ensure correct libdir, otherwise ports are broken on linux

Christopher Jones jonesc at hep.phy.cam.ac.uk
Mon Sep 16 16:55:00 UTC 2024


Hi,

I would say unless there is a need to also use this flag on darwin builds, and it would appear not, then as long as whatever you add to the PG it *only* activates for linux, and not darwin, then it cannot have any serious impact.

Chris

> On 15 Sep 2024, at 1:59 PM, Sergey Fedorov <vital.had at gmail.com> wrote:
> 
> Currently nothing in MacPorts sets libdir for CMake ports. On MacOS this is no issue. On Linux this leaves multiple ports broken, since CMake throws libs into ${prefix}/lib64, where nothing looks for them, so all dependents are broken.
> As a few examples: libdeflate, lerc, libjpeg-turbo.
> 
> I think this should be fixed in cmake PG. Any objections to this?
> 
> Original PR for libdeflate, should be changed to a general fix: https://github.com/macports/macports-ports/pull/25757
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20240916/8a2d5dfd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2897 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20240916/8a2d5dfd/attachment.bin>


More information about the macports-dev mailing list