freebsd-ports/net/ng_mikrotik_eoip/Makefile
Mark Linimon 197f08abf4 Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
Reported by:	swills
2017-05-22 22:29:17 +00:00

40 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= ng_mikrotik_eoip
PORTVERSION= 1.0
CATEGORIES= net kld
MASTER_SITES= http://projects.ukrweb.net/files/ \
http://imax.in.ua/files/
MAINTAINER= gelraen.ua@gmail.com
COMMENT= Netgraph node for Mikrotik EoIP tunneling
LICENSE= BSD2CLAUSE
BROKEN_powerpc64= fails to compile: pcpu.h: size of array '__assert_0' is negative
SSP_UNSAFE= kernel module does not support ssp
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.
KMODDIR?= /boot/modules
PLIST_SUB+= KMODDIR=${KMODDIR} \
PORTNAME=${PORTNAME}
.include <bsd.port.options.mk>
.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}"
${INSTALL_KLD} ${WRKSRC}/${PORTNAME}.ko "${STAGEDIR}${KMODDIR}"
.include <bsd.port.mk>