aboutsummaryrefslogtreecommitdiff
path: root/net/gnet2
diff options
context:
space:
mode:
Diffstat (limited to 'net/gnet2')
-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' \