Ticket #14712: patch-gcc43-select.diff

File patch-gcc43-select.diff, 1.2 KB (added by raimue (Rainer Müller), 17 years ago)
  • Users/Raim/src/macports/trunk/dports/lang/gcc43/files/mp-gcc43

     
     1bin/gcc-mp-4.3
     2bin/cpp-mp-4.3
     3bin/c++-mp-4.3
     4bin/g++-mp-4.3
     5bin/gcj-mp-4.3
     6bin/gcov-mp-4.3
     7bin/gfortan-mp-4.3
  • Users/Raim/src/macports/trunk/dports/lang/gcc43/Portfile

     
    44
    55name                    gcc43
    66version                 4.3.0
     7revision                1
    78platforms               darwin
    89categories              lang
    910maintainers             mww
     
    7778        if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} {
    7879                file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/
    7980        }
     81
     82        # install select file for gcc_select
     83        xinstall -m 755 -d ${destroot}${prefix}/etc/select/gcc
     84        xinstall -m 444 ${filespath}/mp-gcc43 ${destroot}${prefix}/etc/select/gcc/
    8085}
    8186
    8287#platform darwin 7 {