Ticket #61943: Portfile-libsdl2.2.diff
File Portfile-libsdl2.2.diff, 670 bytes (added by larb0b (Larkin), 4 years ago) |
---|
-
Portfile
old new 47 47 } 48 48 49 49 variant x11 { 50 post-extract { 51 reinplace -W "${worksrcpath}/src/video/x11" "s|/opt/X11|${prefix}|g" SDL_x11opengl.c 52 } 53 50 54 configure.args-delete --without-x 51 55 configure.args-append --x-includes=${prefix}/include \ 52 56 --x-libraries=${prefix}/lib \ … … 60 64 port:xorg-libXrandr \ 61 65 port:xorg-libXScrnSaver \ 62 66 port:xorg-libXxf86vm \ 63 port:xrender 67 port:xrender \ 68 port:mesa 64 69 } 65 70 if {${os.subplatform} ne "macosx"} { 66 71 default_variants +x11