Ticket #40394: dragonegg-libc++.patch
File dragonegg-libc++.patch, 2.2 KB (added by larryv (Lawrence Velázquez), 11 years ago) |
---|
-
Users/larryv/Projects/MacPorts/svn/trunk/dports/lang/dragonegg-3.3/Portfile
117 117 } 118 118 } 119 119 120 set cxx_stdlibflags {} 121 if {[info exists configure.cxx_stdlib] && ${configure.cxx_stdlib} ne {} && [string match *clang* ${configure.cxx}]} { 122 set cxx_stdlibflags -stdlib=${configure.cxx_stdlib} 123 } 120 124 build.env-append \ 121 125 LLVM_CONFIG=${prefix}/bin/llvm-config-mp-${llvm_version} \ 122 126 GCC=${prefix}/bin/gcc-mp-${gcc_version} \ 123 127 CC="${configure.cc} ${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]" \ 124 CXX="${configure.cxx} ${configure.cppflags} ${configure.cxxflags} [get_canonical_archflags cxx]"128 CXX="${configure.cxx} ${configure.cppflags} ${configure.cxxflags} ${cxx_stdlibflags} [get_canonical_archflags cxx]" 125 129 126 130 destroot { 127 131 xinstall -m 755 -d ${destroot}${prefix}/libexec/dragonegg -
Users/larryv/Projects/MacPorts/svn/trunk/dports/lang/dragonegg-3.4/Portfile
122 122 } 123 123 } 124 124 125 set cxx_stdlibflags {} 126 if {[info exists configure.cxx_stdlib] && ${configure.cxx_stdlib} ne {} && [string match *clang* ${configure.cxx}]} { 127 set cxx_stdlibflags -stdlib=${configure.cxx_stdlib} 128 } 125 129 build.env-append \ 126 130 LLVM_CONFIG=${prefix}/bin/llvm-config-mp-${llvm_version} \ 127 131 GCC=${prefix}/bin/gcc-mp-${gcc_version} \ 128 132 CC="${configure.cc} ${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]" \ 129 CXX="${configure.cxx} ${configure.cppflags} ${configure.cxxflags} [get_canonical_archflags cxx]"133 CXX="${configure.cxx} ${configure.cppflags} ${configure.cxxflags} ${cxx_stdlibflags} [get_canonical_archflags cxx]" 130 134 131 135 destroot { 132 136 xinstall -m 755 -d ${destroot}${prefix}/libexec/dragonegg