git: 08fab21bcc4d - main - security/iaikpkcs11wrapper: fix build on 64-bit !amd64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Mar 2022 13:02:48 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=08fab21bcc4d611ea5b4fc70e9fd02d2738d4f93
commit 08fab21bcc4d611ea5b4fc70e9fd02d2738d4f93
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-03-19 13:00:03 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-03-19 13:00:03 +0000
security/iaikpkcs11wrapper: fix build on 64-bit !amd64
On powerpc64le:
ld: error: /usr/lib/crti.o is incompatible with elf32lppc
ld: error: /usr/lib/crtbeginS.o is incompatible with elf32lppc
ld: error: /usr/lib/libgcc_s.so is incompatible with elf32lppc
ld: error: /lib/libc.so.7 is incompatible with elf32lppc
ld: error: /usr/lib/libgcc_s.so is incompatible with elf32lppc
ld: error: /usr/lib/crtendS.o is incompatible with elf32lppc
ld: error: /usr/lib/crtn.o is incompatible with elf32lppc
---
security/iaikpkcs11wrapper/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/iaikpkcs11wrapper/Makefile b/security/iaikpkcs11wrapper/Makefile
index a0a521c612c5..180ec1b82004 100644
--- a/security/iaikpkcs11wrapper/Makefile
+++ b/security/iaikpkcs11wrapper/Makefile
@@ -27,7 +27,7 @@ PORTEXAMPLES= *
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64"
+.if ${ARCH:M*64*}
WRKSRC= ${WRKDIR}/src/native/unix/linux-x86_64
.else
WRKSRC= ${WRKDIR}/src/native/unix/linux-x86