Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set up DarwinPorts to coexist with fink' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set up DarwinPorts to coexist with fink
Authored by: clith on Jan 14, '04 09:43:42AM
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"


[ Reply to This | # ]
Set up DarwinPorts to coexist with fink
Authored by: xcode on Jul 01, '04 11:52:12PM

Hi
I followed the two above hints and for a while they worked fine then the man pages for all dawinports installs disappeared, has anyone else experienced this problem? Also what little knowledge I have of the bash shell tells me that a better sytax for PATH="/opt/local/bin:$PATH" is PATH=$PATH":/opt/local/bin"



[ Reply to This | # ]