PortGroup compiler_blacklist_versions 1.0
maintainers {jeremyhu @jeremyhu}
description libc++abi is a new implementation of low level support for a C++ runtime.
long_description ${description} \
Because objects cannot be passed between different versions of the C++ runtime, this port must \
replace the host version in order to be used. On Snow Leopard and earlier, this is done \
automatically because there is no existing host version of this library. On Lion and later, \
users must build the port with +replacemnt_libcxx and install the root manually if they wish \
to replace the existing host implementation.
homepage http://libcxxabi.llvm.org/
master_sites http://www.llvm.org/releases/${version}/
distname ${name}-${version}.src
checksums rmd160 fe3ed237640b0c1a8f8ce3b2654f78005308f1cd \
sha256 920d8be32e6f5574a3fb293f93a31225eeba15086820fcb942155bf50dc029e2
set roots_path ${prefix}/var/system_roots/
set root_name ${name}-${version}-${revision}
0001-Update-buildit-script-to-read-EXTRA_LDFLAGS-from-the.patch \
0002-Revert-Make-libc-abi-use-the-implementation-of-__num.patch
default_variants +universal
ui_error "${name} is not supported on Tiger or earlier."
error "unsupported platform"
if {${os.subplatform} eq "macosx"} {
lappend dirs ${developer_dir}/SDKs/MacOSX${macosx_version}.sdk
system -W ${d} "tar xzf ${roots_path}/${root_name}.tgz"