Ticket #14227: patch-gcc41-select.diff

File patch-gcc41-select.diff, 799 bytes (added by raimue (Rainer Müller), 17 years ago)
  • files/mp-gcc41

     
     1bin/gcc-mp-4.1
     2bin/cpp-mp-4.1
     3bin/c++-mp-4.1
     4bin/g++-mp-4.1
     5bin/gcj-mp-4.1
     6bin/gcov-mp-4.1
     7bin/gfortan-mp-4.1
  • Portfile

     
    7676        if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} {
    7777                file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/
    7878        }
     79
     80        xinstall -m 755 -d ${destroot}${prefix}/etc/select/gcc
     81        xinstall -m 444 ${filespath}/mp-gcc41 ${destroot}${prefix}/etc/select/gcc/
    7982}
    8083
    8184platform darwin 9 {