Ticket #17458: patch-gcc_select-gcc42.diff

File patch-gcc_select-gcc42.diff, 882 bytes (added by raimue (Rainer Müller), 15 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-
  • Portfile

     
    44
    55name                    gcc_select
    66version                 0.1
    7 revision        1
     7revision                2
    88categories              sysutils
    99platforms               darwin
    1010maintainers             mww
     
    5252        }
    5353}
    5454
    55 # install & select gcc40
     55# install gcc40, gcc42 & select gcc40
    5656platform darwin 9 {
    5757        post-destroot {
    58                 xinstall -m 644 -W ${filespath} gcc40 \
     58                xinstall -m 644 -W ${filespath} gcc40 gcc42 \
    5959                        ${destroot}${prefix}/etc/select/gcc
    6060                system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40"
    6161        }