New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79641


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

wine: Fixes for darwin11

Also fixed wine's reference to libwine

File:
1 edited

Legend:

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

    r79607 r79641  
    1010set my_name                 wine 
    1111version                     1.2.3 
     12revision                    1 
    1213license                     LGPL-2.1+ 
    1314categories                  x11 
     
    160161} 
    161162 
     163platform darwin 11 { 
     164    # _getdirentries_is_not_available_when_64_bit_inodes_are_in_effect dlls/ntdll/directory.o 
     165    configure.cppflags-append -D_DARWIN_NO_64_BIT_INODE 
     166 
     167    # llvm-gcc does not respect force_align_arg_pointer 
     168    # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly) 
     169    configure.compiler gcc-4.2 
     170 
     171    # I have a suspicion that this may be necessary, but leaving out for now: 
     172    #post-patch { 
     173    #    # Lion disallows heap execution. 
     174    #    reinplace "s:LDEXECFLAGS = :LDEXECFLAGS = -Wl,-allow_heap_execute :" ${worksrcpath}/loader/Makefile.in 
     175    #} 
     176 
     177    # Needed or wine will SIGBUS 
     178    configure.ldflags-append -Wl,-no_pie 
     179} 
     180 
    162181pre-fetch { 
    163182    if {"big" == ${os.endian}} { 
     
    170189    xinstall -d ${destroot}${prefix}/libexec/wine 
    171190    file rename ${destroot}${prefix}/bin/wine ${destroot}${prefix}/libexec/wine/wine 
     191    system "install_name_tool -change @executable_path/../lib/libwine.1.dylib @executable_path/../../lib/libwine.1.dylib ${destroot}${prefix}/libexec/wine/wine" 
     192 
    172193    xinstall ${filespath}/wine.in ${destroot}${prefix}/bin/wine 
    173194    reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine 
Note: See TracChangeset for help on using the changeset viewer.