aboutsummaryrefslogtreecommitdiff
path: root/dns/dnscap
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-03-21 20:40:18 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-03-21 20:40:18 +0000
commit5554627c9f8ad967653695770c4c49ec8fef5d8c (patch)
treead32703d96ccb5dbd8090a4342d45fa00b9ede0c /dns/dnscap
parentef5c343196e185ff7dcfa3854f50579f731156c1 (diff)
downloadports-5554627c9f8ad967653695770c4c49ec8fef5d8c.tar.gz
ports-5554627c9f8ad967653695770c4c49ec8fef5d8c.zip
Add THREADS option
PR: 217976 Submitted by: Leo Vandewoestijne <freebsd@dns-lab.com>
Notes
Notes: svn path=/head/; revision=436650
Diffstat (limited to 'dns/dnscap')
-rw-r--r--dns/dnscap/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/dns/dnscap/Makefile b/dns/dnscap/Makefile
index 541ff1157bff..78fd6c03bd2f 100644
--- a/dns/dnscap/Makefile
+++ b/dns/dnscap/Makefile
@@ -14,15 +14,18 @@ COMMENT= DNS network traffic capture utility
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS THREADS
+OPTIONS_DEFAULT=THREADS
-CONFIGURE_ARGS= --enable-shared --enable-static --enable-threads
+CONFIGURE_ARGS= --enable-shared --enable-static
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= libtool
PORTDOCS= *
+THREADS_CONFIGURE_ENABLE= threads
+
post-patch-DOCS-off:
@${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.in