diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2013-03-05 17:07:43 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2013-03-05 17:07:43 +0000 |
commit | fb3520254ab73be0aad04c3a63b781750cf26b5b (patch) | |
tree | 268d74f9d8738f78b0c895672044611aa6343387 /net/ng_mikrotik_eoip | |
parent | 4706739618b79681811e5b336a54032908638160 (diff) | |
download | ports-fb3520254ab73be0aad04c3a63b781750cf26b5b.tar.gz ports-fb3520254ab73be0aad04c3a63b781750cf26b5b.zip |
- Convert to OptionsNG
- Trim header
Reviewed by: beat, bapt, kwm
Notes
Notes:
svn path=/head/; revision=313460
Diffstat (limited to 'net/ng_mikrotik_eoip')
-rw-r--r-- | net/ng_mikrotik_eoip/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/net/ng_mikrotik_eoip/Makefile b/net/ng_mikrotik_eoip/Makefile index 36ec66a97de3..b84903e7fd5e 100644 --- a/net/ng_mikrotik_eoip/Makefile +++ b/net/ng_mikrotik_eoip/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: ng_mikrotik_eoip -# Date created: 19 Dec 2011 -# Whom: Maxim Ignatenko -# +# Created by: Maxim Ignatenko # $FreeBSD$ -# PORTNAME= ng_mikrotik_eoip PORTVERSION= 1.0 @@ -16,7 +12,8 @@ COMMENT= Netgraph node for Mikrotik EoIP tunneling LICENSE= BSD -OPTIONS= PTABLE "Use O(1) lookup for tunnel hooks" OFF +OPTIONS_DEFINE= PTABLE +PTABLE_DESC= Use O(1) lookup for tunnel hooks # This option enables usage of static pointer table to find needed decimal-named hook, # which increases memory usage for each node by 65536*sizeof(hook_p). You probably want # this option if you have many tunnels with single remote IP. @@ -31,7 +28,7 @@ PLIST_SUB+= KMODDIR=${KMODDIR} \ IGNORE= requires kernel source files .endif -.if defined(WITH_PTABLE) +.if ${PORT_OPTIONS:MPTABLE} MAKE_ARGS+= NO_LINEAR_HOOK_LOOKUP=1 .endif |