Ticket #43917: root6-libc++.patch
File root6-libc++.patch, 1.6 KB (added by mojca (Mojca Miklavec), 10 years ago) |
---|
-
Portfile
12 12 # TODO: try to figure out if one could also build root6 on < 10.9 13 13 14 14 # Essentially 6.00.00, but with some bug fixes to the build system 15 github.setup root-mirror root aaf9b6515 github.setup root-mirror root bf20cb6 16 16 #github.setup root-mirror root 6-00-00 v 17 17 version 6.00.00 18 checksums rmd160 e0b7080d897469f421dd5ee44ca570a4774dc5d4\19 sha256 58692b7e2c970df5eac0dd298ab7d1ac5352e4ed549d61c29578d71915e831be18 checksums rmd160 58ba2ac69df482ef8f86a75fdc2d803dc0e6a98e \ 19 sha256 6a19ac7df74a1be5d627c3bade450fddee8551efb239787064118e4d0fbabe61 20 20 21 21 name root6 22 22 set version_major 6 … … 37 37 configure.dir ${workpath}/build 38 38 build.dir ${configure.dir} 39 39 40 platform darwin { 41 # Note that we are forcing this choice. This means that anything linking 42 # against llvm-3.5 needs to also be using libc++. This is possibly 43 # problematic, but luckily there is just a limited set of such dependents. 44 45 if {[info exists configure.cxx_stdlib]} { 46 configure.cxx_stdlib libc++ 47 } 48 49 depends_lib-append port:libcxx 50 } 51 52 pre-fetch { 53 if {(${os.major} < 13 && ! [info exists configure.cxx_stdlib]) || 54 (! [file exists /usr/lib/libc++.dylib])} { 55 ui_error "$name requires a C++11 runtime, which your configuration does not allow" 56 error "unsupported configuration" 57 } 58 } 59 60 40 61 post-extract { 41 62 file mkdir ${configure.dir} 42 63 }