Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2020 20:40:29 +0000
From:      Mark Linimon <linimon@lonesome.com>
To:        gecko@FreeBSD.org
Cc:        linimon@FreeBSD.org, pkubaj@FreeBSD.org
Subject:   [linimon@FreeBSD.org: svn commit: r550347 - head/security/nss]
Message-ID:  <20200927204029.GK11951@lonesome.com>

next in thread | raw e-mail | index | archive | help
FYI

mcl

----- Forwarded message from Mark Linimon <linimon@FreeBSD.org> -----

Date: Sun, 27 Sep 2020 20:38:43 +0000 (UTC)
From: Mark Linimon <linimon@FreeBSD.org>
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject: svn commit: r550347 - head/security/nss

Author: linimon
Date: Sun Sep 27 20:38:43 2020
New Revision: 550347
URL: https://svnweb.freebsd.org/changeset/ports/550347

Log:
  Attempt to fix build on powerpc64le.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/security/nss/Makefile

Modified: head/security/nss/Makefile
==============================================================================
--- head/security/nss/Makefile	Sun Sep 27 20:35:24 2020	(r550346)
+++ head/security/nss/Makefile	Sun Sep 27 20:38:43 2020	(r550347)
@@ -45,8 +45,9 @@ INSTALL_BINS=	certutil cmsutil crlutil derdump makepqg
 		ssltap strsclnt symkeyutil vfychain vfyserv
 
 OPTIONS_DEFINE=	DEBUG
+OPTIONS_DEFINE_powerpc=		VSX
 OPTIONS_DEFINE_powerpc64=	VSX
-OPTIONS_DEFINE_powerpc=	VSX
+OPTIONS_DEFINE_powerpc64le=	VSX
 
 VSX_CFLAGS=	-DUSE_PPC_CRYPTO
 VSX_DESC=	Use VSX optimized routines (POWER8 or newer)
@@ -60,7 +61,7 @@ BINS=		${DIST}/${OPSYS}${OSREL}_OPT.OBJ
 BINS=		${DIST}/${OPSYS}${OSREL}_DBG.OBJ
 .endif
 
-.if ${ARCH} == powerpc64 || ${ARCH} == powerpc
+.if ${ARCH:Mpowerpc64*} || ${ARCH} == powerpc
 EXTRA_PATCHES=	${FILESDIR}/${ARCH}${PPC_ABI:tl}-lib_freebl_scripts_gen.sh
 USES+=		compiler:c++11-lang # -mcrypto -mvsx
 .if ! ${PORT_OPTIONS:MVSX}
@@ -94,7 +95,7 @@ post-patch:
 		${FIND} . -name "*.c" -o -name "*.h" | \
 		${XARGS} ${REINPLACE_CMD} -e 's|"nspr.h"|<nspr.h>|'
 
-.if ${ARCH} == powerpc64 || ${ARCH} == powerpc
+.if ${ARCH:Mpowerpc*}
 pre-build:
 	@cd ${WRKSRC}/lib/freebl/scripts && ./gen.sh
 .endif

----- End forwarded message -----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200927204029.GK11951>