pkgsrc/net/tcpdump/options.mk
salo 904081ee01 - convert to PKG_OPTIONS framework
- fix SSL support, it uses the old DES API, PKGREVISION++
2005-06-12 19:41:45 +00:00

20 lines
447 B
Makefile

# $NetBSD: options.mk,v 1.1 2005/06/12 19:41:45 salo Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.tcpdump
PKG_SUPPORTED_OPTIONS= inet6 ssl
PKG_SUGGESTED_OPTIONS= ssl
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if !empty(PKG_OPTIONS:Mssl)
USE_OLD_DES_API= yes
.include "../../security/openssl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-crypto
.endif