freebsd-ports/sysutils/pefs-kmod/Makefile
Dmitry Marakasov d5b8a83bdc sysutils/pefs-kmod: mark BROKEN on FreeBSD 13+
Approved by:	portmgr blanket
2021-05-16 20:31:01 +03:00

46 lines
1.2 KiB
Makefile

# Created by: Gleb Kurtsou <gleb@FreeBSD.org>
PORTNAME= pefs
DISTVERSION= 2018-11-26
CATEGORIES= sysutils
MASTER_SITES= LOCAL/gleb
PKGNAMESUFFIX= -kmod
MAINTAINER= gleb@FreeBSD.org
COMMENT= PEFS kernel level stacked cryptographic filesystem
LICENSE= BSD2CLAUSE
BROKEN_armv6= fails to compile: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99
BROKEN_DragonFly= fails to build: don't know how to make vnode_if.h
ONLY_FOR_ARCHS= amd64 armv6 i386
ONLY_FOR_ARCHS_REASON= untested on any other arch
BROKEN_FreeBSD_13= fails to compile: too many arguments to function call, expected single argument 'vp', have 2 arguments
BROKEN_FreeBSD_14= fails to compile: too many arguments to function call, expected single argument 'vp', have 2 arguments
USES= kmod uidfix
MAKE_JOBS_UNSAFE=yes
MAKE_ENV= BINDIR="${PREFIX}/sbin" MANDIR="${MANPREFIX}/man/man"
OPTIONS_DEFINE= AESNI
OPTIONS_DEFAULT=
AESNI_DESC= Enable AES-NI hardware acceleration
PLIST_FILES= sbin/pefs \
lib/pam_pefs.so \
man/man8/pam_pefs.8.gz \
man/man8/pefs.8.gz \
${KMODDIR}/pefs.ko
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAESNI}
MAKE_ENV+= PEFS_AESNI=yes
.endif
.if ${OPSYS} == FreeBSD
PLIST_FILES+= lib/pam_pefs.so.6
.endif
.include <bsd.port.mk>