Changeset 105371


Ignore:
Timestamp:
Apr 18, 2013, 11:30:59 PM (7 years ago)
Author:
dports@…
Message:

texlive-bin: re-enable makejvf and add -Wno-invalid-source-encoding to
its CFLAGS to work around clang bug (#38643)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/texlive-bin/Portfile

    r105164 r105371  
    77name            texlive-bin
    88version         2012
    9 revision        8
     9revision        9
    1010
    1111categories      tex
     
    177177                --enable-build-in-source-tree
    178178
    179 # makejvf has problems with at least some versions of clang (#38643);
    180 # disable it for now until we know what's going on and when.
    181 configure.args-append --disable-makejvf
     179# makejvf has some invalid character encodings in one of its source
     180# files, which cause certain versions of clang to hang (#38643). Using
     181# -Wno-invalid-source-encoding avoids this problem.
     182# It appears to be specific to Xcode 4.6, but there's no harm in
     183# silencing the warning for all versions of clang.
     184post-patch {
     185    if {[string match *clang* ${configure.compiler}]} {
     186        reinplace "/^WARNING_CFLAGS =/s/$/ -Wno-invalid-source-encoding/" ${worksrcpath}/texk/makejvf/Makefile.in
     187    }
     188}
    182189
    183190configure.cppflags-delete   -I${prefix}/include
Note: See TracChangeset for help on using the changeset viewer.