$OpenBSD: patch-src_osd_sdl_sdl_mak,v 1.10 2015/04/19 16:20:26 bcallah Exp $
--- src/osd/sdl/sdl.mak.orig	Sat Apr 18 11:28:40 2015
+++ src/osd/sdl/sdl.mak	Sat Apr 18 11:28:40 2015
@@ -868,9 +868,9 @@ LIBS += $(QTLIBS)
 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
