$OpenBSD: patch-src_osd_sdl_sdl_mak,v 1.12 2015/04/18 15:13:35 bcallah Exp $
--- src/osd/sdl/sdl.mak.orig	Sat Apr  4 10:34:17 2015
+++ src/osd/sdl/sdl.mak	Sat Apr  4 10:35:29 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
