$OpenBSD: patch-src_osd_sdl_sdl_mak,v 1.11 2014/05/14 23:32:50 bcallah Exp $
--- src/osd/sdl/sdl.mak.orig	Wed Apr 16 23:16:03 2014
+++ src/osd/sdl/sdl.mak	Wed Apr 16 23:16:03 2014
@@ -703,9 +703,9 @@ LIBS += `pkg-config QtGui --libs`
 endif
 
 # some systems still put important things in a different prefix
-LIBS += -L/usr/X11/lib -L/usr/X11R6/lib -L/usr/openwin/lib
+LIBS += -L${X11BASE}/lib
 # make sure we can find X headers
-INCPATH += -I/usr/X11/include -I/usr/X11R6/include -I/usr/openwin/include
+INCPATH += -I${X11BASE}/include
 endif # NO_X11
 
 # can't use native libs with emscripten
