New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80096


Ignore:
Timestamp:
07/04/11 02:18:20 (4 years ago)
Author:
jeremyhu@…
Message:

wine*: Fallback on gcc-4.2 based on chosen compiler rather than platform

Location:
trunk/dports/x11
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/wine-crossover-games/Portfile

    r80038 r80096  
    151151supported_archs             i386 
    152152 
     153# llvm-gcc does not respect force_align_arg_pointer 
     154# clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly) 
     155if {${configure.compiler} == "llvm-gcc-4.2" || 
     156    ${configure.compiler} == "clang"} { 
     157    configure.compiler gcc-4.2 
     158} 
     159 
    153160platform darwin 9 { 
    154161    # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." 
     
    166173    # _getdirentries_is_not_available_when_64_bit_inodes_are_in_effect dlls/ntdll/directory.o 
    167174    configure.cppflags-append -D_DARWIN_NO_64_BIT_INODE 
    168  
    169     # llvm-gcc does not respect force_align_arg_pointer 
    170     # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly) 
    171     configure.compiler gcc-4.2 
    172  
    173     # I have a suspicion that this may be necessary, but leaving out for now: 
    174     #post-patch { 
    175     #    # Lion disallows heap execution. 
    176     #    reinplace "s:LDEXECFLAGS = :LDEXECFLAGS = -Wl,-allow_heap_execute :" ${worksrcpath}/loader/Makefile.in 
    177     #} 
    178175 
    179176    # Needed or wine will SIGBUS 
  • trunk/dports/x11/wine-crossover/Portfile

    r79680 r80096  
    148148supported_archs             i386 
    149149 
     150# llvm-gcc does not respect force_align_arg_pointer 
     151# clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly) 
     152if {${configure.compiler} == "llvm-gcc-4.2" || 
     153    ${configure.compiler} == "clang"} { 
     154    configure.compiler gcc-4.2 
     155} 
     156 
    150157platform darwin 9 { 
    151158    # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." 
     
    163170    # _getdirentries_is_not_available_when_64_bit_inodes_are_in_effect dlls/ntdll/directory.o 
    164171    configure.cppflags-append -D_DARWIN_NO_64_BIT_INODE 
    165  
    166     # llvm-gcc does not respect force_align_arg_pointer 
    167     # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly) 
    168     configure.compiler gcc-4.2 
    169  
    170     # I have a suspicion that this may be necessary, but leaving out for now: 
    171     #post-patch { 
    172     #    # Lion disallows heap execution. 
    173     #    reinplace "s:LDEXECFLAGS = :LDEXECFLAGS = -Wl,-allow_heap_execute :" ${worksrcpath}/loader/Makefile.in 
    174     #} 
    175172 
    176173    # Needed or wine will SIGBUS 
  • trunk/dports/x11/wine-devel/Portfile

    r80000 r80096  
    144144supported_archs             i386 
    145145 
     146# llvm-gcc does not respect force_align_arg_pointer 
     147# clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly) 
     148if {${configure.compiler} == "llvm-gcc-4.2" || 
     149    ${configure.compiler} == "clang"} { 
     150    configure.compiler gcc-4.2 
     151} 
     152 
    146153platform darwin 9 { 
    147154    # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." 
     
    159166    # _getdirentries_is_not_available_when_64_bit_inodes_are_in_effect dlls/ntdll/directory.o 
    160167    configure.cppflags-append -D_DARWIN_NO_64_BIT_INODE 
    161  
    162     # llvm-gcc does not respect force_align_arg_pointer 
    163     # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly) 
    164     configure.compiler gcc-4.2 
    165  
    166     # I have a suspicion that this may be necessary, but leaving out for now: 
    167     #post-patch { 
    168     #    # Lion disallows heap execution. 
    169     #    reinplace "s:LDEXECFLAGS = :LDEXECFLAGS = -Wl,-allow_heap_execute :" ${worksrcpath}/loader/Makefile.in 
    170     #} 
    171168 
    172169    # Needed or wine will SIGBUS 
  • trunk/dports/x11/wine/Portfile

    r80000 r80096  
    146146supported_archs             i386 
    147147 
     148# llvm-gcc does not respect force_align_arg_pointer 
     149# clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly) 
     150if {${configure.compiler} == "llvm-gcc-4.2" || 
     151    ${configure.compiler} == "clang"} { 
     152    configure.compiler gcc-4.2 
     153} 
     154 
    148155platform darwin 9 { 
    149156    # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." 
     
    166173    # _getdirentries_is_not_available_when_64_bit_inodes_are_in_effect dlls/ntdll/directory.o 
    167174    configure.cppflags-append -D_DARWIN_NO_64_BIT_INODE 
    168  
    169     # llvm-gcc does not respect force_align_arg_pointer 
    170     # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly) 
    171     configure.compiler gcc-4.2 
    172  
    173     # I have a suspicion that this may be necessary, but leaving out for now: 
    174     #post-patch { 
    175     #    # Lion disallows heap execution. 
    176     #    reinplace "s:LDEXECFLAGS = :LDEXECFLAGS = -Wl,-allow_heap_execute :" ${worksrcpath}/loader/Makefile.in 
    177     #} 
    178175 
    179176    # Needed or wine will SIGBUS 
Note: See TracChangeset for help on using the changeset viewer.