Ticket #40474: Portfile-texlive-bin.diff
File Portfile-texlive-bin.diff, 1.1 KB (added by larryv (Lawrence Velázquez), 11 years ago) |
---|
-
Portfile
181 181 configure.env-append OBJCXX=${configure.cxx} \ 182 182 OBJCXXFLAGS="${configure.objcflags} [get_canonical_archflags objc]" 183 183 184 set cxx_stdlibflags {} 185 if {[info exists configure.cxx_stdlib] && 186 ${configure.cxx_stdlib} ne {} && 187 [string match *clang* ${configure.cxx}] 188 } then { 189 set cxx_stdlibflags -stdlib=${configure.cxx_stdlib} 190 } 191 184 192 # work around bug in texlive makefiles where $OBJC is not recorded 185 193 # during configure phase 186 194 build.env OBJC=${configure.objc} \ 187 195 OBJCFLAGS="${configure.objcflags} [get_canonical_archflags objc]" \ 188 196 OBJCXX=${configure.cxx} \ 189 OBJCXXFLAGS="${configure.objcflags} [get_canonical_archflags objc]"197 OBJCXXFLAGS="${configure.objcflags} ${cxx_stdlibflags} [get_canonical_archflags objc]" 190 198 191 199 post-destroot { 192 200 # Anything that gets installed into texmf-dist will be installed