$OpenBSD: patch-src_osd_sdl_sdl_mak,v 1.5 2013/01/31 22:27:36 fgsch Exp $
--- src/osd/sdl/sdl.mak.orig	Thu Jan 24 15:42:05 2013
+++ src/osd/sdl/sdl.mak	Thu Jan 24 15:43:24 2013
@@ -697,9 +697,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
 
 #-------------------------------------------------
