git: 25f4f3f594b7 - main - cad/opencascade: fix build on 32-bit architectures other than i386

Piotr Kubaj pkubaj at FreeBSD.org
Mon Sep 27 12:35:23 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=25f4f3f594b7b8b1c4e7eff25dc27e04d4b8dce1

commit 25f4f3f594b7b8b1c4e7eff25dc27e04d4b8dce1
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-09-27 12:22:32 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-09-27 12:22:32 +0000

    cad/opencascade: fix build on 32-bit architectures other than i386
---
 cad/opencascade/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cad/opencascade/Makefile b/cad/opencascade/Makefile
index 3ff291a6a28c..1b7bab2fa2c5 100644
--- a/cad/opencascade/Makefile
+++ b/cad/opencascade/Makefile
@@ -99,7 +99,7 @@ DOXYGEN_RUN_DEPENDS=	${LOCALBASE}/www/MathJax/MathJax.js:www/mathjax
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == "i386"
+.if ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == mips || ${ARCH} == powerpc || ${ARCH} == powerpcspe || ${ARCH} == "i386"
 BITS=	32
 .else
 BITS=	64


More information about the dev-commits-ports-all mailing list