pkgsrc-wip/tftp-hpa/options.mk

24 lines
540 B
Makefile

# $NetBSD: options.mk,v 1.3 2012/06/12 15:46:34 thomasklausner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.tftp-hpa
PKG_SUPPORTED_OPTIONS= tcpwrappers remap inet6
PKG_SUGGESTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mtcpwrappers)
.include "../../security/tcp_wrappers/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-tcpwrappers
.endif
.if empty(PKG_OPTIONS:Mremap)
CONFIGURE_ARGS+= --without-remap
.endif
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --with-ipv6
.else
CONFIGURE_ARGS+= --without-ipv6
.endif