[36127] trunk/base/doc/macports.conf.in

markd at macports.org markd at macports.org
Tue May 13 09:25:12 PDT 2008


>> +# PATH settings that are used for external tools (configure, make,
>> etc.) while installing ports. The default
>> +# paths are given in the example; it need not be uncommented.
>> Customizing binpath is intended for advanced users only.
>> +#binpath            
>/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/
>> sbin:/usr/X11R6/bin
>> +
>>  # Directory containing the X11 installation.
>>  x11prefix            @x11prefix@
>
>Shouldn't we not hard-code the prefix and x11prefix, even if it is
>just a commented-out example line?

Maybe.  Would it be better to put psuedo paths in the comments such as
"/foo; /blah" or something?  I think the variable should be referenced in
the file somewhere, and it seems awkward to list no path.  Also, I see the
guide doesn't list the default binpath so that should be fixed.

http://guide.macports.org/#reference.variables

I'm shortly going to do some minor enhancement of path related information
in the guide related to binpath anyway.  Things I didn't understand until
now.

Mark



More information about the macports-dev mailing list