Ticket #7367: gcc40-Portfile.patch
File gcc40-Portfile.patch, 700 bytes (added by yves@…, 19 years ago) |
---|
-
Portfile
old new 72 72 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 73 73 } 74 74 75 platform powerpc {}76 77 75 post-destroot { 78 76 cd ${destroot}${prefix} 79 77 file delete -force share/man/man7 80 78 file delete -force share/info 81 if {[variant_isset powerpc]} { 82 system "cd ${destroot}${prefix}/include/${name} && \ 83 cp ../../lib/${name}/gcc/*/${version}/include/libffi/ffitarget.h ." 79 } 80 81 platform powerpc { 82 post-destroot { 83 cd ${destroot}${prefix}/include/${name} 84 system \ 85 "cp ../../lib/${name}/gcc/*/${version}/include/libffi/ffitarget.h ." 84 86 } 85 87 } 86 88