On 2022/06/27 13:25, Renaud Allard wrote: > > > > On 6/27/22 13:14, Stuart Henderson wrote: > > On 2022/06/27 12:59, Renaud Allard wrote: > > > > > > Hello, > > > > > > Here is a diff for mail/exim 4.96. > > > There is a library change as it now needs pcre2 instead of pcre. > > > > Seems to be the wrong library? > > > > exim-4.96(mail/exim,-main): > > Missing: pcre2-8.0 from pcre2-10.37 (/usr/local/bin/exim) > > Extra: pcre2-posix.1 > > WANTLIB += pcre2-8 > > > > exim-eximon-4.96(mail/exim,-eximon): > > Missing: pcre2-8.0 from pcre2-10.37 (/usr/local/bin/eximon.bin) > > Extra: pcre2-posix.1 > > WANTLIB += pcre2-8 > > > > I must admit I didn't know which one to choose, that's why I opted for > pcre2-posix. But it compiled just fine here with that. How did you get that > error? > > When I look at other ports, some are using pcre2-8, others pcre2-16 and > others pcre2-32... > Is there a consensus on which version to use?
Yes, the version listed in WANTLIB should be the library actually linked to the binaries. See NEEDED in objdump -p, or of course "make port-lib-depends-check" as usual.
