How to deal with ports-filesystem violation?

Marko Käning mk-macports at posteo.net
Sun Jun 28 15:28:10 PDT 2015


Hi Clemens,

On 29 Jun 2015, at 00:26 , Clemens Lang <cal at macports.org> wrote:
>> - /Library/Application Support
>> - /Library/Preferences
> 
> Why do they need to do that?

they do it, because Qt5’s QStandardPaths logic searches in system locations
for its files, which is why it wouldn’t be able to find anything in /opt/local/Library/...


> We should turn this from a warning to an error for ports that don't set
>  destroot.violate_mtree yes.

Seems so.


> In your case, since you seem to have a reason to ignore this warning, add this
> line to your Portfile to silence the warning.

Ah, okay, good to know. I will test that. Thanks for the pointer.

Greets,
Marko


More information about the macports-dev mailing list