#1827 closed defect (invalid)
Have port honor prefix setting in portconf
Reported by: | cykyc@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Hello,
According to the darwinports/README, the prefix variable in portconf (e.g. /etc/ports/port.conf or ${HOME}/.portsrc) is supposed to be honored as a "directory in which to install ports". AFAIK, base/src/port1.0/portmain.tcl overrides prefix set in base/src/darwinports1.0/darwinports.tcl by hardcoding prefix to /opt/local. This patch allows portmain.tcl to use the prefix value specified in portconf.
--- base/src/port1.0/portmain.tcl.orig Sat May 8 12:58:41 2004 +++ base/src/port1.0/portmain.tcl Sat May 8 12:59:14 2004 @@ -54,7 +54,7 @@ default distpath {[file join $portdbpath distfiles]} default workdir work default workpath {[file join $portpath $workdir]} -default prefix /opt/local +default prefix $prefix default x11prefix /usr/X11R6 default destdir destroot default destpath {${workpath}/${destdir}}
Change History (2)
comment:1 Changed 19 years ago by olegb@…
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
this is bogus .. prefix is not overridded ..