Ticket #17458: patch-gcc_select-gcc42.2.diff
File patch-gcc_select-gcc42.2.diff, 1.2 KB (added by raimue (Rainer Müller), 16 years ago) |
---|
-
files/gcc42
1 /usr/bin/gcc-4.2 2 /usr/bin/cpp-4.2 3 /usr/bin/c++-4.2 4 /usr/bin/bin/g++-4.2 5 - 6 /usr/bin/gcov-4.2 7 - -
files/llvm-gcc42
1 /Developer/usr/bin/llvm-gcc-4.2 2 /Developer/usr/bin/llvm-cpp-4.2 3 /Developer/usr/bin/llvm-g++-4.2 4 /Developer/usr/bin/llvm-g++-4.2 5 - 6 /Developer/usr/bin/gcov-4.2 7 - -
Portfile
4 4 5 5 name gcc_select 6 6 version 0.1 7 revision 17 revision 2 8 8 categories sysutils 9 9 platforms darwin 10 10 maintainers mww … … 52 52 } 53 53 } 54 54 55 # install & select gcc4055 # install gcc40, gcc42, llvm-gcc42& select gcc40 56 56 platform darwin 9 { 57 57 post-destroot { 58 xinstall -m 644 -W ${filespath} gcc40 \58 xinstall -m 644 -W ${filespath} gcc40 gcc42 llvm-gcc42 \ 59 59 ${destroot}${prefix}/etc/select/gcc 60 60 system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40" 61 61 }