29 lines
645 B
Makefile
29 lines
645 B
Makefile
|
# $NetBSD: options.mk,v 1.1 2015/10/29 16:34:13 fhajny Exp $
|
||
|
|
||
|
PKG_OPTIONS_VAR= PKG_OPTIONS.syslog-ng
|
||
|
PKG_SUPPORTED_OPTIONS= inet6 syslogng-spoof
|
||
|
PKG_SUGGESTED_OPTIONS= inet6
|
||
|
|
||
|
PKG_OPTIONS_LEGACY_OPTS+= spoof:syslogng-spoof
|
||
|
|
||
|
.include "../../mk/bsd.options.mk"
|
||
|
|
||
|
#
|
||
|
# Enable IPv6 support
|
||
|
#
|
||
|
.if !empty(PKG_OPTIONS:Minet6)
|
||
|
CONFIGURE_ARGS+= --enable-ipv6=yes
|
||
|
.else
|
||
|
CONFIGURE_ARGS+= --enable-ipv6=no
|
||
|
.endif
|
||
|
|
||
|
#
|
||
|
# spoof the original source address of forwarded syslog packets
|
||
|
#
|
||
|
.if !empty(PKG_OPTIONS:Msyslogng-spoof)
|
||
|
CONFIGURE_ARGS+= --enable-spoof-source
|
||
|
.include "../../devel/libnet11/buildlink3.mk"
|
||
|
.else
|
||
|
CONFIGURE_ARGS+= --disable-spoof-source
|
||
|
.endif
|