diff options
Diffstat (limited to 'comms/kermit/options.mk')
-rw-r--r-- | comms/kermit/options.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/comms/kermit/options.mk b/comms/kermit/options.mk new file mode 100644 index 00000000000..bcd4586863c --- /dev/null +++ b/comms/kermit/options.mk @@ -0,0 +1,23 @@ +# $NetBSD: options.mk,v 1.1 2005/12/02 17:01:35 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.kermit +PKG_SUPPORTED_OPTIONS= kermit-suid-uucp +PKG_OPTIONS_OPTIONAL_GROUPS+= socks +PKG_OPTIONS_GROUP.socks= socks4 socks5 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mkermit-suid-uucp) +BINOWN= uucp +BINMODE= 4555 +.endif + +.if !empty(PKG_OPTIONS:Msocks4) +KFLAGS+= -DSOCKS +LIBS+= -L${BUILDLINK_PREFIX.socks4}/lib -lsocks4 +.include "../../net/socks4/buildlink3.mk" +.elif !empty(PKG_OPTIONS:Msocks5) +KFLAGS+= -DSOCKS -DCK_SOCKS5 +LIBS+= -L${BUILDLINK_PREFIX.socks4}slib -lsocks5 +.include "../../net/socks5/buildlink3.mk" +.endif |