Ticket #40266: wine-devel.diff

File wine-devel.diff, 1.6 KB (added by Ionic (Mihai Moldovan), 11 years ago)

wine-devel Portfile patch.

  • Portfile

    old new  
    1111conflicts                   wine wine-crossover
    1212set my_name                 wine
    1313version                     1.7.0
     14revision                    1
    1415license                     LGPL-2.1+
    1516categories                  x11
    1617maintainers                 ryandesign jwa openmaintainer
     
    149150
    150151# clang < 3.1 fails to build wine with "error: invalid operand for instruction lretw"
    151152# http://bugs.winehq.org/show_bug.cgi?id=32872
    152 compiler.blacklist-append   {clang < 425} macports-clang-2.9 macports-clang-3.0
     153# llvm < 3.2 builds wine, but produces buggy binaries, clang 425 is also affected
     154# http://llvm.org/bugs/show_bug.cgi?id=9707
     155compiler.blacklist-append   {clang < 426} macports-clang-2.9 macports-clang-3.0 macports-clang-3.1
     156
     157# winemac.drv won't compile with FSF GCC due to including Cocoa headers making use of
     158# the Apple "blocks" Objective C extension
     159compiler.blacklist-append macports-gcc-*
     160
     161# Prefer clang over old Apple GCC versions.
     162compiler.whitelist-append   macports-clang-3.2 macports-clang-3.3
    153163
    154164platform darwin {
    155165    if {${os.major} <= 9} {
     
    184194
    185195    xinstall ${filespath}/wine.in ${destroot}${prefix}/bin/wine
    186196    reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine
    187    
     197
    188198    xinstall -d ${destroot}${prefix}/share/wine/gecko
    189199    xinstall -m 644 ${distpath}/${wine_gecko_distfile} ${destroot}${prefix}/share/wine/gecko
    190    
     200
    191201    xinstall -d ${destroot}${prefix}/share/doc/${name}
    192202    xinstall -m 644 -W ${worksrcpath} \
    193203        ANNOUNCE \