Forcing destroot to work

Anders F Björklund afb at macports.org
Sun May 18 03:34:16 PDT 2008


Randall Wood wrote:

> I'm attempting to write a portfile for swftools but during the
> destroot phase, it simply goes ahead and installs into ${prefix}
> instead of ${destroot}/${prefix}
>
> What is the best way to correct this sort of behavior?

Either educate the port / upstream about using DESTDIR, or use
"destroot.destdir prefix=${destroot}${prefix}" and fix "later"...

--anders



More information about the macports-dev mailing list