-# $OpenBSD: Makefile,v 1.21 2022/10/06 14:41:08 martijn Exp $
+# $OpenBSD: Makefile,v 1.22 2022/10/25 10:46:59 martijn Exp $
PROG= snmpd
MAN= snmpd.8 snmpd.conf.5
mps.c trap.c mib.c smi.c snmpd.c \
proc.c usm.c traphandler.c util.c
-LDADD= -levent -lutil -lkvm -lcrypto
-DPADD= ${LIBEVENT} ${LIBUTIL}
+LDADD= -levent -lutil -lcrypto
+DPADD= ${LIBEVENT} ${LIBUTIL} ${LIBCRYPTO}
CFLAGS+= -Wall -I${.CURDIR}
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations