blob: 421ece7880f83af388eed0d801c8edb6c7ff0034 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# $NetBSD: options.mk,v 1.3 2006/01/03 13:09:25 adrianp Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ircd-hybrid
PKG_SUPPORTED_OPTIONS= efnet ssl halfops small-net ziplinks
PKG_SUGGESTED_OPTIONS= ssl ziplinks
.include "../../mk/bsd.options.mk"
###
### Tweak some options to be EFNet based
###
.if !empty(PKG_OPTIONS:Mefnet)
CONFIGURE_ARGS+= --enable-efnet
.endif
###
### Enable OpenSSL support
###
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --enable-openssl=${BUILDLINK_PREFIX.openssl}
.else
CONFIGURE_ARGS+= --disable-openssl
.endif
###
### Halfops are similar to plain ops, but can't kick/deop plain ops. Halfops
### may or may not kick/deop other halfops depending on if (+p) is set.
### Halfops may not set (+/-p).
###
.if !empty(PKG_OPTIONS:Mhalfops)
CONFIGURE_ARGS+= --enable-halfops
.endif
###
### Tunes the server for smaller networks by reducing the startup
### memory footprint.
###
.if !empty(PKG_OPTIONS:Msmall-net)
CONFIGURE_ARGS+= --enable-small-net
.endif
###
### Compress data before transmitting it between servers
###
.if !empty(PKG_OPTIONS:Mziplinks)
. include "../../devel/zlib/buildlink3.mk"
CONFIGURE_ARGS+= --enable-zlib
.else
CONFIGURE_ARGS+= --disable-zlib
.endif
|