git: e9f35d7e41d9 - main - biology/hhsuite: Fix build on aarch64

Mikael Urankar mikael at FreeBSD.org
Mon Sep 13 15:47:59 UTC 2021


The branch main has been updated by mikael:

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

commit e9f35d7e41d9f83d4212d4fe2d2e0410a3e90f66
Author:     Mikael Urankar <mikael at FreeBSD.org>
AuthorDate: 2021-09-13 14:59:27 +0000
Commit:     Mikael Urankar <mikael at FreeBSD.org>
CommitDate: 2021-09-13 15:47:57 +0000

    biology/hhsuite: Fix build on aarch64
    
    Approved by:    portmgr (build fix blanket)
---
 biology/hhsuite/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/biology/hhsuite/Makefile b/biology/hhsuite/Makefile
index 15225f220854..fc24fac30c34 100644
--- a/biology/hhsuite/Makefile
+++ b/biology/hhsuite/Makefile
@@ -21,7 +21,9 @@ LDFLAGS+=	-Wl,-rpath,${LOCALBASE}/mpi/openmpi/lib -L${LOCALBASE}/mpi/openmpi/lib
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == amd64 || ${ARCH} == i386
+.if ${ARCH} == aarch64
+CMAKE_ON=	HAVE_ARM8
+.elif ${ARCH} == amd64 || ${ARCH} == i386
 CMAKE_ON=	HAVE_SSE2
 .elif ${ARCH:Mpowerpc64*}
 CMAKE_ON=	HAVE_POWER8


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