On Jun 1, 2012, at 12:24, Craig Treleaven wrote:

> At 12:16 PM -0500 6/1/12, Ryan Schmidt wrote:
>> On Jun 1, 2012, at 09:35, Jeremy Lavergne wrote:
>> 
>>>> I guess the takeaway is to warn potential dmg users:  "If you use MacPorts 
>>>> now, or think you might in the future, use it instead of a dmg to install 
>>>> this software".
>>> 
>>> Yes--unless you build those dmgs with a different prefix :-)
>> 
>> Which, again, you absolutely should do. Please do not distribute disk images 
>> that install things into /opt/local, or you may earn yourself a place on our 
>> ProblemHotlist:
>> 
>> https://trac.macports.org/wiki/ProblemHotlist#xmlwf
> 
> It almost sounds like a badge of honour!  ;)  Is the prefix one of those 
> things that can be overriden on the command line? Something like 'sudo port 
> mdmg myport prefix=/opt/myport'?

No, it can only be changed at the time that you initially install MacPorts, by 
passing the --prefix argument to the ./configure script when you build MacPorts 
from source.

You can however easily have any number of separate MacPorts installations in 
separate prefixes, if you plan to do a lot of packaging and want to keep that 
separate from your normal MacPorts prefix.



_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to