Enable libtokencap on DragonFlyBSD
MODIFY
libtokencap/Makefile
libtokencap/Makefile
@@ -37,6 +37,9 @@ endif
ifeq "$(shell uname)" "NetBSD"
TARGETS = libtokencap.so
endif
+ifeq "$(shell uname)" "DragonFly"
+ TARGETS = libtokencap.so
+endif
all: $(TARGETS)
libtokencap.so: libtokencap.so.c ../config.h

MODIFY
libtokencap/libtokencap.so.c
libtokencap/libtokencap.so.c
#include "../config.h"
#if !defined __linux__ && !defined __APPLE__ && !defined __FreeBSD__ && \
- !defined __OpenBSD__ && !defined __NetBSD__
+ !defined __OpenBSD__ && !defined __NetBSD__ && !defined __DragonFly__
#error "Sorry, this library is unsupported in this platform for now!"
#endif /* !__linux__ && !__APPLE__ && ! __FreeBSD__ && ! __OpenBSD__ && \
!__NetBSD__*/

Enable libtokencap on DragonFlyBSD