Ticket #16603: wine-opengl.diff

File wine-opengl.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 16 years ago)
  • files/winewrapper.sh

     
    11#!/bin/sh
    22
    3 DYLD_FALLBACK_LIBRARY_PATH="@PREFIX@/lib" \
     3DYLD_FALLBACK_LIBRARY_PATH="@PREFIX@/lib:@X11PREFIX@/lib" \
    44"@PREFIX@/libexec/wine/wine" "$@"
  • Portfile

     
    44
    55name                    wine
    66version                 1.0
    7 revision                1
     7revision                2
    88categories              x11
    99maintainers             ryandesign jwa openmaintainer
    1010homepage                http://www.winehq.com/
     
    7070    file rename ${destroot}${prefix}/bin/wine ${destroot}${prefix}/libexec/wine/wine
    7171    xinstall -m 755 ${filespath}/winewrapper.sh ${destroot}${prefix}/bin/wine
    7272    reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine
     73    reinplace s|@X11PREFIX@|${x11prefix}|g ${destroot}${prefix}/bin/wine
    7374}
    7475
    7576livecheck.check         sourceforge