Skip to content
Permalink
Browse files

ln -s -> ln -fs to cope with double-install.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1554 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jordan K. Hubbard
Jordan K. Hubbard committed Jan 4, 2003
1 parent 0a3dfbe commit f6573c48f3e62f4d064951e863b1dd5e29b76e21
Showing with 9 additions and 9 deletions.
  1. +9 −9 devel/ccache/Portfile
@@ -14,15 +14,15 @@ checksums md5 8e73f607accc13da52934303140d555e

post-install {
system "cd ${prefix}/bin; \
ln -s ${prefix}/bin/ccache ${prefix}/bin/cc; \
ln -s ${prefix}/bin/ccache ${prefix}/bin/gcc; \
ln -s ${prefix}/bin/ccache ${prefix}/bin/gcc2; \
ln -s ${prefix}/bin/ccache ${prefix}/bin/gcc3; \
ln -s ${prefix}/bin/ccache ${prefix}/bin/c++; \
ln -s ${prefix}/bin/ccache ${prefix}/bin/c++3; \
ln -s ${prefix}/bin/ccache ${prefix}/bin/g++; \
ln -s ${prefix}/bin/ccache ${prefix}/bin/g++2; \
ln -s ${prefix}/bin/ccache ${prefix}/bin/g++3"
ln -fs ${prefix}/bin/ccache ${prefix}/bin/cc; \
ln -fs ${prefix}/bin/ccache ${prefix}/bin/gcc; \
ln -fs ${prefix}/bin/ccache ${prefix}/bin/gcc2; \
ln -fs ${prefix}/bin/ccache ${prefix}/bin/gcc3; \
ln -fs ${prefix}/bin/ccache ${prefix}/bin/c++; \
ln -fs ${prefix}/bin/ccache ${prefix}/bin/c++3; \
ln -fs ${prefix}/bin/ccache ${prefix}/bin/g++; \
ln -fs ${prefix}/bin/ccache ${prefix}/bin/g++2; \
ln -fs ${prefix}/bin/ccache ${prefix}/bin/g++3"
}

contents bin/ccache \

0 comments on commit f6573c4

Please sign in to comment.
You can’t perform that action at this time.