aboutsummaryrefslogtreecommitdiff
path: root/net/gnet2/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-28 13:39:56 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-28 13:39:56 +0000
commite638299edcfecb35838ad7fad0b71c4fa5ed7639 (patch)
tree30df43bd9eff2c4d3d713edce11d9d1da280e753 /net/gnet2/Makefile
parent3c87974395c0f207b0768da251c721e0125b48b7 (diff)
downloadports-e638299edcfecb35838ad7fad0b71c4fa5ed7639.tar.gz
ports-e638299edcfecb35838ad7fad0b71c4fa5ed7639.zip
Notes
Diffstat (limited to 'net/gnet2/Makefile')
-rw-r--r--net/gnet2/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/net/gnet2/Makefile b/net/gnet2/Makefile
index 4981265b49b8..24e8d2c84472 100644
--- a/net/gnet2/Makefile
+++ b/net/gnet2/Makefile
@@ -19,13 +19,8 @@ INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-CONFIGURE_ARGS+= --with-html-dir=${DOCSDIR}
-.else
-CONFIGURE_ARGS+= --without-html-dir
-.endif
+DOCS_CONFIGURE_ON= --with-html-dir=${DOCSDIR}
+DOCS_CONFIGURE_OFF= --without-html-dir
post-patch:
@${REINPLACE_CMD} -e 's|GNET_INTERFACE_AGE=0|GNET_INTERFACE_AGE=8|g' \