If libraries are installed into /compat/linux - do not print these: > WARN: /usr/ports/net-im/zoom/pkg-plist: [1099]: installing shared libraries, please define USE_LDCONFIG as appropriate Testcase: net-im/zoom
Hey, Yuri. I've looked at some other ports, and I think the proper way to do what you're doing is set USE_LINUX_PREFIX. This will cause the Linux ldconfig to run when you set USE_LDCONFIG. Meaning, I think you absolutely do need ldconfig when installing shared libs, you just need to instruct the ports system which to use. In your case, you could set USE_LINUX_PREFIX, and then use a fully qualified /%%LOCALBASE%%/bin/zoom, etc. to install the files outside of LINUXBASE.
(In reply to Joe Marcus Clarke from comment #1) > In your case, you could set USE_LINUX_PREFIX, and then use a fully qualified /%%LOCALBASE%%/bin/zoom, etc. to install the files outside of LINUXBASE. But this is also not desired because these shared libraries should be only used form one app. The desired behavior here is to exclude them from ldconfig.
That's fair, but this is also not a general case. In some cases (e.g., devel/linux-c7-icu), ldconfig should be run. Simply checking if LINUXBASE is the target would not be sufficient. Not all portlint messages are necessary valid. That's why this is a WARN. I wonder if some kind of "# noqa" check is required like exists for linters like flake8 for Python...