freebsd-ports/sysutils/pefs-kmod/files/patch-module-Makefile
Pav Lucistnik deeeeeb4cf - Update to 2012-06-21
Submitted by:	gleb (maintainer)
2012-06-20 20:35:06 +00:00

11 lines
267 B
Text

--- sys/modules/pefs/Makefile.orig
+++ sys/modules/pefs/Makefile
@@ -8,7 +8,7 @@
pefs_dircache.c \
pefs_xts.c vmac.c
-.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
+.if defined(PEFS_AESNI)
SRCS+= pefs_aesni.c
CFLAGS+= -DPEFS_AESNI
.endif