--- Makefile.orig 2015-10-02 08:23:57 UTC +++ Makefile @@ -40,12 +40,12 @@ EXAMPLESDIR= $(PREFIX)/share/examples/dtcpclient .if ($(OPSYS) == "NetBSD") MANDIR= $(PREFIX)/man .else -MANDIR= $(PREFIX)/man/man +MANDIR= $(PREFIX)/share/man/man .endif CFLAGS+= -Wall -DPREFIX=\"$(PREFIX)\" -.if ($(OPSYS) == "FreeBSD") +.if ($(OPSYS) == "FreeBSD") || ($(OPSYS) == "DragonFly") CFLAGS+= -DHAVE_MD5 LDADD= -lmd .elif ($(OPSYS) == "NetBSD") || ($(OPSYS) == "OpenBSD")