# HG changeset patch # User Sam Lantinga # Date 1255669577 0 # Node ID d380e7a6265b4e93accd205a9200047d83688a14 # Parent f2800721813ddee9b19899298cf7ca528c4c9afb patch-ac (from mrg@NetBSD.org): Look for libGL.so, not any particular libGL.so., on NetBSD. (the comment inline explains why) diff -r f2800721813d -r d380e7a6265b src/video/x11/SDL_x11gl.c --- a/src/video/x11/SDL_x11gl.c Fri Oct 16 05:05:21 2009 +0000 +++ b/src/video/x11/SDL_x11gl.c Fri Oct 16 05:06:17 2009 +0000 @@ -35,6 +35,9 @@ #define DEFAULT_OPENGL "libGL.so.3" #elif defined(__OpenBSD__) #define DEFAULT_OPENGL "libGL.so.4.0" +#elif defined(__NetBSD__) +/* pkgsrc is .1, base system is .2 */ +#define DEFAULT_OPENGL "libGL.so" #else #define DEFAULT_OPENGL "libGL.so.1" #endif