$OpenBSD: patch-src_osd_sdl_sdl_mak,v 1.10 2013/09/29 19:36:09 bcallah Exp $
--- src/osd/sdl/sdl.mak.orig	Fri Sep 20 12:15:23 2013
+++ src/osd/sdl/sdl.mak	Fri Sep 20 12:15:23 2013
@@ -721,9 +721,9 @@ LIBS += `pkg-config --libs gtk+-2.0` `pkg-config --lib
 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
 
 #-------------------------------------------------
