#52754: libsdl2 @2.0.5: missing x11 library dependencies cause opportunistic linking and varying amounts of functionality for +x11 variant. ----------------------+---------------------- Reporter: dbevans | Owner: jmroot Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: liibsdl2 ----------------------+---------------------- When building with the +x11 variant, libsdl2 has a list of X11 libraries that it will look for a configure time and enable or disable functionality depending on the results. This results in opportunistic link with libraries that are not listed as dependencies in the port, and variable functionality based on what is, or is not present. From a review of configure.in here is the list of ports that should be added in addition to the current ones as dependencies for the +x11 variant: * xorg-libX11 (previously implied, now explicit) * xorg-libXcursor * xorg-libXi * xorg-libXinerama * xorg-libXScrnSaver * xorg-libXxf86vm Patch attached with rev bump to ensure all have the same set of functionality. -- Ticket URL: <https://trac.macports.org/ticket/52754> MacPorts <https://www.macports.org/> Ports system for OS X