$OpenBSD: patch-BSDmakefile,v 1.2 2009/11/12 20:22:31 benoit Exp $
--- BSDmakefile.orig	Mon Aug 31 07:48:38 2009
+++ BSDmakefile	Thu Nov 12 16:43:20 2009
@@ -42,7 +42,7 @@
 all: ${PROG} unworkable.cat1
 
 ${PROG}: libunworkable.a main.o
-	${CC} -o ${.TARGET} ${LDFLAGS} -levent -lcrypto main.o -lunworkable
+	${CC} -o ${.TARGET} main.o ${LDFLAGS} -levent -lcrypto -lunworkable
 
 libunworkable.a: ${OBJS}
 	ar rcs libunworkable.a ${OBJS}
