aboutsummaryrefslogtreecommitdiff
path: root/security/fastd
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-12-04 15:22:34 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-12-04 15:22:34 +0000
commitb2baf73a29df103b48c481eb8b7e53177cd6c365 (patch)
treec7ede3ba9c883c5b95c62153671898b09d37a177 /security/fastd
parentbc9d7a859b891d5d3656c1b455a181c14f6ef71b (diff)
Notes
Diffstat (limited to 'security/fastd')
-rw-r--r--security/fastd/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/security/fastd/Makefile b/security/fastd/Makefile
index 8d37c9c2299c..0c82796e0997 100644
--- a/security/fastd/Makefile
+++ b/security/fastd/Makefile
@@ -22,7 +22,14 @@ USE_RC_SUBR= fastd
PLIST_FILES= bin/fastd \
man/man1/fastd.1.gz
+.include <bsd.port.pre.mk>
+
+# GCC from base does not support -mpclmul.
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000024
+CMAKE_ARGS+= -DWITH_MAC_GHASH_PCLMULQDQ=FALSE
+.endif
+
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/fastd.1 ${STAGEDIR}${PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>