blob: 8aadd9bf75f801859cec88079596f3f4d62eabe2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $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
|