Ticket #41791: Portfile-texlive-bin.diff
File Portfile-texlive-bin.diff, 2.0 KB (added by larryv (Lawrence Velázquez), 11 years ago) |
---|
-
Users/larryv/Projects/MacPorts/svn/trunk/dports/tex/texlive-bin/Portfile
190 190 configure.cppflags-append -isystem${prefix}/include 191 191 configure.env-append LIBRARY_PATH=${prefix}/lib 192 192 193 set cxx_stdlibflags {} 193 # work around bug in texlive makefiles where $OBJC is not recorded 194 # during configure phase 195 build.env OBJC=${configure.objc} \ 196 OBJCFLAGS="${configure.objcflags} [get_canonical_archflags objc]" \ 197 OBJCXX=${configure.objcxx} 198 194 199 if {[info exists configure.cxx_stdlib] && 195 200 ${configure.cxx_stdlib} ne {} && 196 201 [string match *clang* ${configure.cxx}] 197 202 } then { 198 set cxx_stdlibflags -stdlib=${configure.cxx_stdlib} 203 build.env-append OBJCXXFLAGS="${configure.objcxxflags} [get_canonical_archflags objcxx] -stdlib=${configure.cxx_stdlib}" 204 } else { 205 build.env-append OBJCXXFLAGS="${configure.objcxxflags} [get_canonical_archflags objcxx]" 199 206 } 200 207 201 # TODO: Remove when base supports OBJCXX and OBJCXXFLAGS (2.2.1?).202 configure.env-append OBJCXX=${configure.cxx} \203 OBJCXXFLAGS="${configure.objcflags} ${cxx_stdlibflags} [get_canonical_archflags objc]"204 205 # work around bug in texlive makefiles where $OBJC is not recorded206 # during configure phase207 build.env OBJC=${configure.objc} \208 OBJCFLAGS="${configure.objcflags} [get_canonical_archflags objc]" \209 OBJCXX=${configure.cxx} \210 OBJCXXFLAGS="${configure.objcflags} ${cxx_stdlibflags} [get_canonical_archflags objc]"211 212 208 post-destroot { 213 209 # Anything that gets installed into texmf-dist will be installed 214 210 # by one of the texmf ports