Question about meson and boost libraries

Ken Cunningham ken.cunningham.webuse at gmail.com
Fri Dec 22 18:23:23 UTC 2017


On 2017-12-22, at 10:14 AM, Benjamin Redelings wrote:

> Hi,
> 
>     I'm new to macports.  I'm the author or the bali-phy software, and I'm working on updating the ancient Portfile for it.  The software has changed a lot since someone wrote the original Portfile years ago, and I was completely unfamiliar with the Portfile format yesterday, so I have a bit of learning to do.
> 
>     One issue I'm running into is that meson isn't finding boost at the configure stage.  It might be because its not looking for libraries with the -mt suffix.  However, while I'm continuing to look into this, I thought I'd ask what the general state of using meson with macports is.  Is there a place I can go to see discussion of this?
> 
>     I'm pretty happy with meson in general - I'm finally willing to switch away from autotools.  I've been able to generate cross-builds from linux to mingw-w64 and darwin, and I've done native builds on linux and osx.  But integration with packaging tools seems to be another layer...
> 
>     Thanks for any help!
> 
> -BenRI
> 



Meson support is pretty much brand new in MacPorts -- see <https://github.com/macports/macports-ports/pull/1015>

There are some issues with meson not properly setting the dylib's install_name correctly, as described in that group. That seems to be an issue more with meson's state of MacOS support rather than anything to do with MacPorts, though.

Best,

Ken


More information about the macports-dev mailing list