|
|
Set up DarwinPorts to coexist with fink
Ermmm, there's a much simpler way of going about this.
When DarwinPorts's configure script is looking for tclsh, it will pick the first one in its path. Since you will, at some point, have to add /opt/local/bin (or whever you choose to install dports binaries) to your path, do that first, and throw it at the beginning of your path. Then, symlink the proper tclsh into /opt/local/bin, i. e.
Then DarwinPorts's configure will automatically pick the right tclsh as it falls first in the path. Of course, to get the path right, I always use my trusted /etc/profile (works if you are using bash, which you probably will be if you are using Panther):
Problem solved :)
Set up DarwinPorts to coexist with fink
Just to be pedantic, you should check for the existance of /sw/bin/init.sh before sourcing it (in case you uninstall fink at some point). Also, you only need to export variables once, and I find it easier to put it on the same line as the var assignment...
# System-wide .profile for sh(1) export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin" export TERM="xterm-color" [ -r /etc/bashrc ] && source /etc/bashrc [ -r /sw/bin/init.sh] && source /sw/bin/init.sh [ -d /opt/local/bin ] && PATH="/opt/local/bin:$PATH"
Set up DarwinPorts to coexist with fink
Hi |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|