New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79640


Ignore:
Timestamp:
06/21/11 20:16:58 (4 years ago)
Author:
jeremyhu@…
Message:

wine-devel: Fixes for darwin11

Also fixed reference to libwine and removed an unrecognized configure option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/wine-devel/Portfile

    r79607 r79640  
    1010set my_name                 wine 
    1111version                     1.3.22 
     12revision                    1 
    1213license                     LGPL-2.1+ 
    1314categories                  x11 
     
    9798 
    9899configure.args              --without-alsa \ 
    99                             --without-audioio \ 
    100100                            --without-capi \ 
    101101                            --with-cms \ 
     
    158158    # _getdirentries_is_not_available_when_64_bit_inodes_are_in_effect dlls/ntdll/directory.o 
    159159    configure.cppflags-append -D_DARWIN_NO_64_BIT_INODE 
     160 
     161    # llvm-gcc does not respect force_align_arg_pointer 
     162    # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly) 
     163    configure.compiler gcc-4.2 
     164 
     165    # I have a suspicion that this may be necessary, but leaving out for now: 
     166    #post-patch { 
     167    #    # Lion disallows heap execution. 
     168    #    reinplace "s:LDEXECFLAGS = :LDEXECFLAGS = -Wl,-allow_heap_execute :" ${worksrcpath}/loader/Makefile.in 
     169    #} 
     170 
     171    # Needed or wine will SIGBUS 
     172    configure.ldflags-append -Wl,-no_pie 
    160173} 
    161174 
     
    170183    xinstall -d ${destroot}${prefix}/libexec/wine 
    171184    file rename ${destroot}${prefix}/bin/wine ${destroot}${prefix}/libexec/wine/wine 
     185    system "install_name_tool -change @executable_path/../lib/libwine.1.dylib @executable_path/../../lib/libwine.1.dylib ${destroot}${prefix}/libexec/wine/wine" 
     186 
    172187    xinstall ${filespath}/wine.in ${destroot}${prefix}/bin/wine 
    173188    reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine 
Note: See TracChangeset for help on using the changeset viewer.