Re: mtree violation

2018-03-09 Thread macports
> On 2018-03-07, at 20:40, Ryan Schmidt wrote: > (...) >> but it fails. it seems that build.args doesn not overwrite PREIX in Makefile. > > It does, but it turns out the makefile doesn't use PREFIX during the build > phase. It only seems to use it during the destroot phase. So use: > > destroo

Re: mtree violation

2018-03-07 Thread Ryan Schmidt
On Mar 7, 2018, at 10:24, macpo...@parvis.nl wrote: > oops: different answers, which is best? Using the API offered by the build system is best. In this case, the API is to set the PREFIX argument. If a Makefile didn't offer a variable for changing the prefix, then you'd have to patch. But si

Re: mtree violation

2018-03-07 Thread macports
oops: different answers, which is best? > On 2018-03-06, at 16:07, Ken Cunningham > wrote: > 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: > PREFIX=@@PREFIX@@ > and then in the portfile, befo

Re: mtree violation

2018-03-07 Thread Ryan Schmidt
On Mar 6, 2018, at 09:01, pdv wrote: > I'm trying to local install jdupes with my own test fixes, but i cannot > destroot/activate due to more violation. > > how can i - without patching the Makefile, specify /opt/local as destination? > > logextract: > --- > # port install jdupes > --

Re: mtree violation

2018-03-06 Thread macports
> On 2018-03-06, at 16:07, Ken Cunningham > wrote: > > > 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 origina

Re: mtree violation

2018-03-06 Thread Ken Cunningham
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

mtree violation

2018-03-06 Thread macports
I'm trying to local install jdupes with my own test fixes, but i cannot destroot/activate due to more violation. how can i - without patching the Makefile, specify /opt/local as destination? logextract: --- # port install jdupes ---> Fetching distfiles for jdupes ---> Attempting to fet