On 2018-03-06, at 7:01 AM, macpo...@parvis.nl wrote:

> I'm trying to local install jdupes with my own test fixes, but i cannot 
> destroot/activate due to more violation.

> Warning: violation by /usr

> fragment of original Makefile:
> ------------------------------
> # PREFIX determines where files will be installed. Common examples
> # include "/usr" or "/usr/local".
> PREFIX = /usr

This Makefile hardcodes the install prefix, and expects you to hand edit it 
prior to installation.

You need to patch it to something like this:


and then in the portfile, before building, do a reinplace on @@PREFIX@@ to set 
it to ${prefix}


Reply via email to