Ignore:
Timestamp:
May 29, 2012, 3:16:05 AM (7 years ago)
Author:
jeremyhu@…
Message:

ffmpeg: Don't use buggy clang for i386 (#30137)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/multimedia/ffmpeg/Portfile

    r91842 r93718  
    8080build.env-append V=1
    8181
     82variant universal {}
     83
    8284#
    8385# enable auto configure of mmx and related Intel optimizations by default
     
    101103}
    102104
    103 # Xcode 4.1's clang has issues with ffmpeg
    104 # See https://trac.macports.org/ticket/30137
    105 if {$xcodeversion == "4.1"} {
    106     pre-configure {
    107         error "XCode 4.1 cannot compile ${name}; please upgrade"
    108     }
     105# Newer clang hit https://trac.macports.org/ticket/30137 (<rdar://problem/11542429>)
     106if {${configure.compiler} == "clang" && [vercmp ${xcodeversion} 4.1] >= 0 && [lsearch [get_canonical_archs] i386] != -1} {
     107    depends_build-append port:clang-3.0
     108    depends_skip_archcheck-append clang-3.0
     109
     110    configure.compiler macports-clang-3.0
    109111}
    110112
Note: See TracChangeset for help on using the changeset viewer.