Preventing check of sharedlibs in rev-upgrade

Richard L. Hamilton rlhamil at
Wed Jun 20 13:43:05 UTC 2018

> On Jun 20, 2018, at 07:34, Joshua Root <jmr at> wrote:
> Artur Szostak wrote:
>> Is there any way of telling MacPorts to not consider one, more or all shared libraries when attempting its check for broken libraries in a Portfile? I have some Java software which is precompiled and also delivering some additional shared libraries. Unfortunately, MacPorts is incorrectly detecting some of the shared libraries as broken and attempting to recompile the package.
> You can't disable it on a per-port basis, but you can prevent
> rev-upgrade from running automatically, or put it in report-only mode,
> with settings in macports.conf.
> If it is indeed incorrectly considering some files broken, that is a bug
> that we should fix, so please file a ticket. (Have you checked that the
> detected brokenness could not be fixed with install_name_tool like e.g.
> oracle-instantclient does?)
> - Josh

And if you just want to disable it sometimes, there's an option for that:

port upgrade --no-rev-upgrade outdated
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 874 bytes
Desc: Message signed with OpenPGP
URL: <>

More information about the macports-users mailing list