dependency style bin: not working
Chris Pickel
chpickel at stwing.upenn.edu
Thu May 17 09:50:39 PDT 2007
On 17 May, 2007, at 11:45, markd at macports.org wrote:
> mark abney <maabney2 at yahoo.com> on Thursday, May 17, 2007 at 8:33
> AM -0800
> wrote:
>> It's not a case sensitivity issue. The file that's in my PATH is
>> 'tex'
>> and the filename as specified in the dependency is also 'tex', but
>> port
>> simply refuses to find it. Where does it search? Or, if it does
>> actually
>> find it, ignores it and still tries to install teTeX. Any ideas
>> where in
>> all the tcl code these decisions are made? I haven't tried the
>> path: form of dependency yet; I'll need to do more experimentation.
>> Thanks for the suggestion.
>>
> I can't answer that. I changed the subject line in hopes that someone
> else will chime in.
My understanding of darwinports.tcl:526 is that MacPorts doesn't ever
use the user's PATH. If ports.conf does not include a "binpath"
statement, port will construct one for its own use. The PATH it
constructs doesn't include /usr/local/bin, however, which is I assume
where tex is. Maybe if you edit /opt/local/etc/ports/ports.conf and
add a binpath statement, e.g.:
binpath /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/
usr/X11R6/bin:/usr/local/bin
...it could find it. Obviously this line will be different if it's
not /usr/local. Make sure you add things last, though, because
otherwise you could potentially get weird bugs that no one else does.
Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20070517/b62ac389/PGP.bin
More information about the macports-users
mailing list