git: 029805eab068 - main - security/nss: drop ELFv1 support

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 05 Jan 2024 21:05:10 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=029805eab06838ce0a909a081b45bd20343b18a7

commit 029805eab06838ce0a909a081b45bd20343b18a7
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-01-05 20:09:49 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-01-05 21:04:22 +0000

    security/nss: drop ELFv1 support
---
 security/nss/Makefile                                         |  2 +-
 ...ebl_scripts_gen.sh => powerpc64-lib_freebl_scripts_gen.sh} |  0
 security/nss/files/powerpc64elfv1-lib_freebl_scripts_gen.sh   | 11 -----------
 3 files changed, 1 insertion(+), 12 deletions(-)

diff --git a/security/nss/Makefile b/security/nss/Makefile
index 7e1e0cc50ef8..8fc2bdd5478d 100644
--- a/security/nss/Makefile
+++ b/security/nss/Makefile
@@ -65,7 +65,7 @@ MAKE_ENV+=	NSS_DISABLE_ARM32_NEON=1
 .endif
 
 .if ${ARCH} == powerpc64 || ${ARCH} == powerpc
-EXTRA_PATCHES=	${FILESDIR}/${ARCH}${PPC_ABI:tl}-lib_freebl_scripts_gen.sh
+EXTRA_PATCHES=	${FILESDIR}/${ARCH}-lib_freebl_scripts_gen.sh
 USES+=		compiler:c++11-lang # -mcrypto -mvsx
 .if ! ${PORT_OPTIONS:MVSX}
 MAKE_ENV+=	NSS_DISABLE_CRYPTO_VSX=1
diff --git a/security/nss/files/powerpc64elfv2-lib_freebl_scripts_gen.sh b/security/nss/files/powerpc64-lib_freebl_scripts_gen.sh
similarity index 100%
rename from security/nss/files/powerpc64elfv2-lib_freebl_scripts_gen.sh
rename to security/nss/files/powerpc64-lib_freebl_scripts_gen.sh
diff --git a/security/nss/files/powerpc64elfv1-lib_freebl_scripts_gen.sh b/security/nss/files/powerpc64elfv1-lib_freebl_scripts_gen.sh
deleted file mode 100644
index 156edb39c625..000000000000
--- a/security/nss/files/powerpc64elfv1-lib_freebl_scripts_gen.sh
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/freebl/scripts/gen.sh.orig	2020-05-12 17:17:31 UTC
-+++ lib/freebl/scripts/gen.sh
-@@ -3,7 +3,7 @@
- # Run the scripts in this folder, generating the assembly,
- #
- 
--perl sha512p8-ppc.pl linux64le sha512-p8.s
-+perl sha512p8-ppc.pl linux64 sha512-p8.s
- 
- # Add the license mention
- cat > hdr << "EOF"