ports/net/dtcpclient/files/patch-Makefile
2024-01-22 02:28:52 +09:00

17 lines
475 B
Text

--- 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")