New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79642


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

wine-crossover-games: Fixes for darwin11

Also fixed wine's reference to libwine and moved wineloader to libexec to match wine and wine-devel

Location:
trunk/dports/x11/wine-crossover-games
Files:
2 edited

Legend:

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

    r79605 r79642  
    88conflicts                   wine wine-devel 
    99version                     10.0.0 
    10 revision                    1 
     10revision                    2 
    1111license                     LGPL-2.1+ 
    1212categories                  x11 
     
    2626minimum_xcodeversions       {8 2.5} 
    2727 
    28 description                 Wine Is Not an Emulator (1.2.1 with CodeWeavers modifications) 
     28description                 Wine Is Not an Emulator (1.3.9 with CodeWeavers modifications) 
    2929 
    3030long_description            Wine is an implementation of the Windows APIs on top of X11. \ 
     
    164164    # _getdirentries_is_not_available_when_64_bit_inodes_are_in_effect dlls/ntdll/directory.o 
    165165    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 
    166179} 
    167180 
     
    174187 
    175188post-destroot { 
     189    xinstall -d ${destroot}${prefix}/libexec/wine 
     190    file rename ${destroot}${prefix}/bin/wineloader ${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 
    176193    xinstall ${filespath}/wine.in ${destroot}${prefix}/bin/wine 
    177194    reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine 
  • trunk/dports/x11/wine-crossover-games/files/wine.in

    • Property svn:eol-style set to native
    • Property svn:keywords set to Id
    r50572 r79642  
    11#!/bin/sh 
     2# $Id$ 
    23 
    34DYLD_FALLBACK_LIBRARY_PATH="@PREFIX@/lib" \ 
    4 "@PREFIX@/bin/wineloader" "$@" 
     5"@PREFIX@/libexec/wine/wine" "$@" 
Note: See TracChangeset for help on using the changeset viewer.