Ignore:
Timestamp:
Jan 22, 2010, 2:08:36 PM (8 years ago)
Author:
jeremyhu@…
Message:

wine-crossover-games: Add a check to disable-win16. Fixes #23387

File:
1 edited

Legend:

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

    r61755 r62944  
    8888configure.build_arch i386
    8989
     90platform darwin 9 {
     91    # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support."
     92    configure.args-append --disable-win16
     93}
     94
    9095platform darwin 10 {
     96    # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support."
     97    configure.args-append --disable-win16
     98
    9199    # _getdirentries_is_not_available_when_64_bit_inodes_are_in_effect dlls/ntdll/directory.o
    92100    configure.cppflags-append -D_DARWIN_NO_64_BIT_INODE
     
    94102
    95103pre-fetch {
    96     if { [string compare ${os.endian} "little"] != 0 } {
    97         return -code error "${name} only runs on little-endian computers, such as an Intel Mac."
     104    if {"big" == ${os.endian}} {
     105        ui_error "${name} can only be used on an Intel Mac or other computer with a little-endian processor."
     106        return -code error "incompatible processor"
    98107    }
    99108}
    100 
    101109post-destroot {
    102110    xinstall -d ${destroot}${prefix}/libexec/wine
Note: See TracChangeset for help on using the changeset viewer.