svn commit: r560514 - head/security/s2n

Piotr Kubaj pkubaj at FreeBSD.org
Wed Jan 6 13:50:10 UTC 2021


Author: pkubaj
Date: Wed Jan  6 13:50:10 2021
New Revision: 560514
URL: https://svnweb.freebsd.org/changeset/ports/560514

Log:
  security/s2n: disable pg-crypto where it's not supported
  
  /wrkdirs/usr/ports/security/s2n/work/s2n-0.10.23/pq-crypto/sike_r2/config.h:69:2: error: #error -- "Unsupported ARCHITECTURE"

Modified:
  head/security/s2n/Makefile

Modified: head/security/s2n/Makefile
==============================================================================
--- head/security/s2n/Makefile	Wed Jan  6 13:45:47 2021	(r560513)
+++ head/security/s2n/Makefile	Wed Jan  6 13:50:10 2021	(r560514)
@@ -24,6 +24,12 @@ CMAKE_ARGS+=	-DBUILD_SHARED_LIBS=ON
 
 SUB_FILES=	pkg-message
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} != aarch64 && ${ARCH} != amd64 && ${ARCH} != arm && ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386
+CMAKE_ARGS+=	-DS2N_NO_PQ:BOOL=ON
+.endif
+
 post-build-TEST-on:
 	(cd ${WRKDIR}/.build && ninja test)
 


More information about the svn-ports-all mailing list