Ticket #55441: libcxxabi.diff
File libcxxabi.diff, 1.8 KB (added by ryandesign (Ryan Carsten Schmidt), 7 years ago) |
---|
-
Portfile
2 2 PortGroup compiler_blacklist_versions 1.0 3 3 4 4 name libcxxabi 5 epoch 1 5 6 version 3.9.1 6 epoch17 revision 1 7 8 categories lang 8 9 platforms darwin 9 10 license MIT NCSA … … 49 50 50 51 if {${os.major} < 11} { 51 52 post-activate { 52 system "cd / && tar xzf ${roots_path}/${root_name}.tgz" 53 set dirs / 54 if {${os.subplatform} eq "macosx"} { 55 lappend dirs ${developer_dir}/SDKs/MacOSX${macosx_version}.sdk 56 } 57 foreach d ${dirs} { 58 system -W ${d} "tar xzf ${roots_path}/${root_name}.tgz" 59 } 53 60 } 54 61 } 55 62 } … … 77 84 # cmake would choose either cxa_exceptions or cxa_noexceptions 78 85 # but the buildit script just builds every file in the src directory and you can't have both 79 86 post-extract { 80 system "rm ${worksrcpath}/src/cxa_noexception.cpp"87 delete ${worksrcpath}/src/cxa_noexception.cpp 81 88 } 82 89 83 90 if {${os.major} < 10} { … … 122 129 xinstall -m 644 ${worksrcpath}/include/__cxxabi_config.h ${destroot}${roots_path}/${root_name}/usr/include 123 130 xinstall -m 644 ${worksrcpath}/include/cxxabi.h ${destroot}${roots_path}/${root_name}/usr/include 124 131 125 system "cd ${destroot}${roots_path}/${root_name} &&tar czf ../${root_name}.tgz ."126 file delete -force ${destroot}${roots_path}/${root_name}132 system -W ${destroot}${roots_path}/${root_name} "tar czf ../${root_name}.tgz ." 133 delete ${destroot}${roots_path}/${root_name} 127 134 } 128 135 } else { 129 136 distfiles