summaryrefslogtreecommitdiff
path: root/net/tcpdump/options.mk
diff options
context:
space:
mode:
authorobache <obache>2010-08-21 12:04:52 +0000
committerobache <obache>2010-08-21 12:04:52 +0000
commit86d0ed45dee6619047f57fd3831b297fc7cc4690 (patch)
treeb327cf075827858755022a377fe4aab8ced86618 /net/tcpdump/options.mk
parent21363fb309f97829edf6d58313f0f77fc84bf685 (diff)
downloadpkgsrc-86d0ed45dee6619047f57fd3831b297fc7cc4690.tar.gz
Add libsmi option.
Requested by PR#32371.
Diffstat (limited to 'net/tcpdump/options.mk')
-rw-r--r--net/tcpdump/options.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/net/tcpdump/options.mk b/net/tcpdump/options.mk
index 8f41d09f184..b68ec805728 100644
--- a/net/tcpdump/options.mk
+++ b/net/tcpdump/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.1 2005/06/12 19:41:45 salo Exp $
+# $NetBSD: options.mk,v 1.2 2010/08/21 12:04:52 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.tcpdump
-PKG_SUPPORTED_OPTIONS= inet6 ssl
+PKG_SUPPORTED_OPTIONS= inet6 ssl libsmi
PKG_SUGGESTED_OPTIONS= ssl
.include "../../mk/bsd.options.mk"
@@ -18,3 +18,7 @@ USE_OLD_DES_API= yes
.else
CONFIGURE_ARGS+= --without-crypto
.endif
+
+.if !empty(PKG_OPTIONS:Mlibsmi)
+.include "../../devel/libsmi/buildlink3.mk"
+.endif