#6880 closed enhancement (fixed)
RFE: document binpath option in ports.conf
Reported by: | cssdev@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 1.4 |
Component: | base | Version: | 1.0 |
Keywords: | Cc: | cssdev, markd@… | |
Port: |
Description
Only after some digging through trying to get things running on FreeBSD did I realize why the port command couldn't locate /usr/local/bin/rsync. I eventually figured out how the PATH variable operates within darwinports.tcl, and then I found confirmation in BUG #1427 that I needed to overload binpath. I'm not sure if this might considered a dangerous workaround, as it can introduce non-system and non-DP conflicts. However, it would be helpful to have a comment in ports.conf indicating that that this option is available.
Change History (10)
comment:1 Changed 19 years ago by cssdev@…
Component: | base → doc |
---|
comment:2 Changed 18 years ago by rhwood@…
severity: | normal → enhancement |
---|
Make the list of bugs easier to scan.
comment:3 Changed 18 years ago by markd@…
Cc: | cssdev@… markd@… added |
---|
Only Macs are supported now. Could you describe the issue in laymen's terms or provide an example of how you think it should be documented? People doing documentation aren't always portmgrs. ;-)
comment:4 Changed 18 years ago by cssdev
Cc: | css@… added; cssdev@… removed |
---|
The binpath
variable is not documented in the man page for ports.conf, so it's not obvious that it's an available setting. It was the key variable in my case due to the fact that the default binpath
did not include a path containing FreeBSD's rsync command (which is found in /usr/local/bin). It's a valid variable, but it's just undocumented.
- binpath
-
Sets the directory search path for locating system executables used by MacPorts. This variable should contain the paths for locating utilities such as rsync, XXX, and YYY. (what are some of the other required utilities?)
Default: ${prefix}/bin:${prefix}/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
comment:6 Changed 18 years ago by jmpalacios (Juan Manuel Palacios)
Added in r21998, closing ticket.
-jmpp
comment:7 Changed 18 years ago by jmpalacios (Juan Manuel Palacios)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:8 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Component: | guide → base |
---|
comment:9 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | → MacPorts base enhancements |
---|
comment:10 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 1.4 |
---|
Moving to doc