Ticket #54289: lcxxabi.diff
File lcxxabi.diff, 1.9 KB (added by RJVB (René Bertin), 7 years ago) |
---|
-
lang/libcxxabi/Portfile
old new 2 2 PortGroup compiler_blacklist_versions 1.0 3 3 4 4 name libcxxabi 5 version 3.9.15 version 4.0.0 6 6 epoch 1 7 7 categories lang 8 8 platforms darwin … … 24 26 use_xz yes 25 27 distname ${name}-${version}.src 26 28 27 checksums rmd160 fe3ed237640b0c1a8f8ce3b2654f78005308f1cd\28 sha256 920d8be32e6f5574a3fb293f93a31225eeba15086820fcb942155bf50dc029e229 checksums rmd160 1008ed2aa387cb09779ab1038b8f7c3f5d40e33e \ 30 sha256 dca9cb619662ad2d3a0d685c4366078345247218c3702dd35bcaaa23f63481d8 29 31 30 32 set roots_path ${prefix}/var/system_roots/ 31 33 set root_name ${name}-${version}-${revision} … … 33 35 patch.pre_args -p1 34 36 patchfiles \ 35 37 0001-Update-buildit-script-to-read-EXTRA_LDFLAGS-from-the.patch \ 36 0002-Revert-Make-libc-abi-use-the-implementation-of-__num.patch38 patch-respect-optflags.diff 37 39 38 40 variant universal {} 39 41 default_variants +universal … … 78 84 # but the buildit script just builds every file in the src directory and you can't have both 79 85 post-extract { 80 86 system "rm ${worksrcpath}/src/cxa_noexception.cpp" 87 # remove this one too (it's not included by cmake) 88 system "rm ${worksrcpath}/src/cxa_thread_atexit.cpp" 81 89 } 82 90 83 91 if {${os.major} < 10} { … … 102 110 CXX="${configure.cxx} ${configure.cppflags}" \ 103 111 RC_XBS=1 \ 104 112 RC_CFLAGS="[get_canonical_archflags]" \ 113 CXXFLAGS="${configure.optflags}" \ 105 114 RC_ProjectSourceVersion="${version}" \ 106 115 TRIPLE="-apple-darwin${os.major}" 107 116