$OpenBSD: patch-workman_stubs_c,v 1.1 2003/09/01 03:08:52 krw Exp $
--- workman_stubs.c.orig	1997-06-11 14:14:01.000000000 -0400
+++ workman_stubs.c	2003-08-31 15:29:23.000000000 -0400
@@ -58,7 +58,12 @@ void	show_cdinfo(),
 Panel_item	quitbutton;
 char	*getenv(), *WMstrdup();
 
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+/* FreeBSD has a special directory for pidfiles, I guess. */
+char	*pidfile = "/var/run/workman.pid";
+#else
 char	*pidfile = "/tmp/.wm_pid";
+#endif
 char *	empty = "";
 extern char *cd_device;
 
