Ticket #55441: libcxx.diff
File libcxx.diff, 1.4 KB (added by ryandesign (Ryan Carsten Schmidt), 7 years ago) |
---|
-
Portfile
2 2 PortGroup compiler_blacklist_versions 1.0 3 3 4 4 name libcxx 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 … … 44 45 45 46 if {${os.major} < 11} { 46 47 post-activate { 47 system "cd / && tar xzf ${roots_path}/${root_name}.tgz" 48 set dirs / 49 if {${os.subplatform} eq "macosx"} { 50 lappend dirs ${developer_dir}/SDKs/MacOSX${macosx_version}.sdk 51 } 52 foreach d ${dirs} { 53 system -W ${d} "tar xzf ${roots_path}/${root_name}.tgz" 54 } 48 55 } 49 56 } 50 57 } … … 102 109 xinstall -m 755 ${worksrcpath}/lib/libc++.1.dylib ${destroot}${roots_path}/${root_name}/usr/lib 103 110 ln -s libc++.1.dylib ${destroot}${roots_path}/${root_name}/usr/lib/libc++.dylib 104 111 105 system "cd ${destroot}${roots_path}/${root_name} &&tar czf ../${root_name}.tgz ."106 file delete -force ${destroot}${roots_path}/${root_name}112 system -W ${destroot}${roots_path}/${root_name} "tar czf ../${root_name}.tgz ." 113 delete ${destroot}${roots_path}/${root_name} 107 114 } 108 115 } else { 109 116 distfiles