Ticket #61943: Portfile-libsdl2.3.diff

File Portfile-libsdl2.3.diff, 667 bytes (added by larb0b (Larkin), 3 years ago)

Same as last attached patch but doesn't use -W in reinplace since we're just working w/ one file

  • Portfile

    old new  
    4747}
    4848
    4949variant x11 {
     50    post-extract {
     51        reinplace "s|/opt/X11|${prefix}|g" "${worksrcpath}/src/video/x11/SDL_x11opengl.c"
     52    }
     53
    5054    configure.args-delete --without-x
    5155    configure.args-append --x-includes=${prefix}/include \
    5256                          --x-libraries=${prefix}/lib \
     
    6064        port:xorg-libXrandr \
    6165        port:xorg-libXScrnSaver \
    6266        port:xorg-libXxf86vm \
    63         port:xrender
     67        port:xrender \
     68        port:mesa
    6469}
    6570if {${os.subplatform} ne "macosx"} {
    6671    default_variants +x11