FYI

mcl

----- Forwarded message from Mark Linimon <[email protected]> -----

Date: Sun, 27 Sep 2020 20:38:43 +0000 (UTC)
From: Mark Linimon <[email protected]>
To: [email protected], [email protected], 
[email protected]
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 -----
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to