svn commit: r525767 - branches/2020Q1/security/nss

Jan Beich jbeich at FreeBSD.org
Mon Feb 10 23:52:09 UTC 2020


Author: jbeich
Date: Mon Feb 10 23:52:08 2020
New Revision: 525767
URL: https://svnweb.freebsd.org/changeset/ports/525767

Log:
  MFH: r525766
  
  security/nss: disable AltiVec on 32-bit powerpc
  
  Crypto acceleration is only implemented for powerpc64 but build flags
  leak to other powerpc targets. Disable via a variable introduced in 3.50.
  
  PR:		242523
  Reported by:	many
  Approved by:	ports-secteam blanket

Modified:
  branches/2020Q1/security/nss/Makefile
Directory Properties:
  branches/2020Q1/   (props changed)

Modified: branches/2020Q1/security/nss/Makefile
==============================================================================
--- branches/2020Q1/security/nss/Makefile	Mon Feb 10 23:51:09 2020	(r525766)
+++ branches/2020Q1/security/nss/Makefile	Mon Feb 10 23:52:08 2020	(r525767)
@@ -57,6 +57,8 @@ BINS=		${DIST}/${OPSYS}${OSREL}_DBG.OBJ
 
 .if ${ARCH} == powerpc64
 USES+=		compiler:c++11-lang # -mcrypto -mvsx
+.else
+MAKE_ENV+=	NSS_DISABLE_ALTIVEC=1
 .endif
 
 .if ${OPSYS} == FreeBSD && ${ARCH} == amd64


More information about the svn-ports-branches mailing list