$OpenBSD: patch-scrotwm_c,v 1.2 2009/02/02 21:21:19 pyr Exp $
--- scrotwm.c.orig	Mon Feb  2 21:19:36 2009
+++ scrotwm.c	Mon Feb  2 21:20:11 2009
@@ -134,7 +134,7 @@ u_int32_t		swm_debug = 0
 #define HEIGHT(r)		(r)->g.h
 
 #ifndef SWM_LIB
-#define SWM_LIB			"/usr/X11R6/lib/swmhack.so"
+#define SWM_LIB			"${PREFIX}/lib/swmhack.so"
 #endif
 
 char			**start_argv;
