| @@ -1,23 +1,23 @@ | | | @@ -1,23 +1,23 @@ |
1 | # $NetBSD: options.mk,v 1.1 2005/12/02 17:01:35 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.2 2008/03/01 05:04:58 jlam Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.kermit | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.kermit |
4 | PKG_SUPPORTED_OPTIONS= kermit-suid-uucp | | 4 | PKG_SUPPORTED_OPTIONS= kermit-suid-uucp |
5 | PKG_OPTIONS_OPTIONAL_GROUPS+= socks | | 5 | PKG_OPTIONS_OPTIONAL_GROUPS+= socks |
6 | PKG_OPTIONS_GROUP.socks= socks4 socks5 | | 6 | PKG_OPTIONS_GROUP.socks= socks4 socks5 |
7 | | | 7 | |
8 | .include "../../mk/bsd.options.mk" | | 8 | .include "../../mk/bsd.options.mk" |
9 | | | 9 | |
10 | .if !empty(PKG_OPTIONS:Mkermit-suid-uucp) | | 10 | .if !empty(PKG_OPTIONS:Mkermit-suid-uucp) |
11 | BINOWN= uucp | | 11 | BINOWN= uucp |
12 | BINMODE= 4555 | | 12 | BINMODE= 4555 |
13 | .endif | | 13 | .endif |
14 | | | 14 | |
15 | .if !empty(PKG_OPTIONS:Msocks4) | | 15 | .if !empty(PKG_OPTIONS:Msocks4) |
16 | KFLAGS+= -DSOCKS | | 16 | KFLAGS+= -DSOCKS |
17 | LIBS+= -L${BUILDLINK_PREFIX.socks4}/lib -lsocks4 | | 17 | LIBS+= -L${BUILDLINK_PREFIX.socks4}/lib -lsocks4 |
18 | .include "../../net/socks4/buildlink3.mk" | | 18 | .include "../../net/socks4/buildlink3.mk" |
19 | .elif !empty(PKG_OPTIONS:Msocks5) | | 19 | .elif !empty(PKG_OPTIONS:Msocks5) |
20 | KFLAGS+= -DSOCKS -DCK_SOCKS5 | | 20 | KFLAGS+= -DSOCKS -DCK_SOCKS5 |
21 | LIBS+= -L${BUILDLINK_PREFIX.socks4}slib -lsocks5 | | 21 | LIBS+= -L${BUILDLINK_PREFIX.socks5}/lib -lsocks5 |
22 | .include "../../net/socks5/buildlink3.mk" | | 22 | .include "../../net/socks5/buildlink3.mk" |
23 | .endif | | 23 | .endif |