Ticket #13417: gcc42.diff

File gcc42.diff, 667 bytes (added by takanori@…, 17 years ago)
  • Portfile

     
    9494}
    9595
    9696post-destroot {
    97         system "cd ${destroot}${prefix}/include/${name} && \
    98                 cp ../../lib/${name}/gcc/*/${version}/include/ffitarget.h ."
     97        if {![variant_isset darwin_9_powerpc]} {
     98                # If gcj is not installed, libffi is also not installed.
     99                system "cd ${destroot}${prefix}/include/${name} && \
     100                        cp ../../lib/${name}/gcc/*/${version}/include/ffitarget.h ."
     101        }
    99102        xinstall -m 755 -d ${destroot}${prefix}/etc/select/gcc
    100103        xinstall -m 444 ${filespath}/mp-gcc42 ${destroot}${prefix}/etc/select/gcc/
    101104}