svn commit: r495762 - head/net/ng_mikrotik_eoip
Tobias Kortkamp
tobik at FreeBSD.org
Fri Mar 15 04:44:12 UTC 2019
Author: tobik
Date: Fri Mar 15 04:44:10 2019
New Revision: 495762
URL: https://svnweb.freebsd.org/changeset/ports/495762
Log:
net/ng_mikrotik_eoip: Fix PTABLE option
Options helpers are ineffective when set after bsd.port.options.mk.
Move them before that point.
Reported by: tobik (in D19553)
Modified:
head/net/ng_mikrotik_eoip/Makefile
Modified: head/net/ng_mikrotik_eoip/Makefile
==============================================================================
--- head/net/ng_mikrotik_eoip/Makefile Fri Mar 15 04:41:34 2019 (r495761)
+++ head/net/ng_mikrotik_eoip/Makefile Fri Mar 15 04:44:10 2019 (r495762)
@@ -19,6 +19,8 @@ PTABLE_DESC= Use O(1) lookup for tunnel hooks
# 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.
+PTABLE_MAKE_ARGS= NO_LINEAR_HOOK_LOOKUP=1
+
KMODDIR?= /boot/modules
PLIST_SUB+= KMODDIR=${KMODDIR} \
PORTNAME=${PORTNAME}
@@ -28,8 +30,6 @@ PLIST_SUB+= KMODDIR=${KMODDIR} \
.if !exists(${SRC_BASE}/sys/sys/module.h)
IGNORE= requires kernel source files
.endif
-
-PTABLE_MAKE_ARGS= NO_LINEAR_HOOK_LOOKUP=1
do-install:
${MKDIR} "${STAGEDIR}${KMODDIR}"
More information about the svn-ports-all
mailing list