Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Mar 2022 13:02:48 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 08fab21bcc4d - main - security/iaikpkcs11wrapper: fix build on 64-bit !amd64
Message-ID:  <202203191302.22JD2mbT013996@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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