diff --git a/net/dtcpclient/Makefile b/net/dtcpclient/Makefile index d7a4e0da4592..ce6c12a3cfee 100644 --- a/net/dtcpclient/Makefile +++ b/net/dtcpclient/Makefile @@ -2,6 +2,7 @@ PORTNAME= dtcpclient PORTVERSION= 20151002 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= http://www.mahoroba.org/~ume/ipv6/ @@ -10,10 +11,8 @@ COMMENT= Dynamic Tunnel Configuration Protocol client LICENSE= BSD2CLAUSE -USES= ssl uidfix +USES= uidfix USE_RC_SUBR= dtcpclient -CFLAGS+= -I${OPENSSLINC} -LDFLAGS+= -L${OPENSSLLIB} PLIST_FILES= man/man8/dtcpclient.8.gz \ sbin/dtcpclient \ diff --git a/net/dtcpclient/files/patch-Makefile b/net/dtcpclient/files/patch-Makefile new file mode 100644 index 000000000000..b5ba2a5a923f --- /dev/null +++ b/net/dtcpclient/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2015-10-02 08:23:57 UTC ++++ Makefile +@@ -45,7 +45,7 @@ MANDIR= $(PREFIX)/man/man + + CFLAGS+= -Wall -DPREFIX=\"$(PREFIX)\" + +-.if ($(OPSYS) == "FreeBSD") ++.if ($(OPSYS) == "FreeBSD") || ($(OPSYS) == "DragonFly") + CFLAGS+= -DHAVE_MD5 + LDADD= -lmd + .elif ($(OPSYS) == "NetBSD") || ($(OPSYS) == "OpenBSD")