git: d9a00047e09e - main - science/siesta: don't set -march=native

Piotr Kubaj <[email protected]> Mon, 03 Aug 2026 15:21:40 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by pkubaj:

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

commit d9a00047e09ecfe481cdc122fcf8e1db5d7b2cac
Author:     Piotr Kubaj <[email protected]>
AuthorDate: 2026-08-01 11:30:07 +0000
Commit:     Piotr Kubaj <[email protected]>
CommitDate: 2026-08-03 15:21:13 +0000

    science/siesta: don't set -march=native
    
    On powerpc64le:
    gfortran14: error: unrecognized command-line option '-march=native'; did you mean '-mcpu=native'?
---
 science/siesta/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/science/siesta/Makefile b/science/siesta/Makefile
index e33576989cca..9a3763fb2102 100644
--- a/science/siesta/Makefile
+++ b/science/siesta/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	siesta
 DISTVERSION=	5.4.2
+PORTREVISION=	1
 CATEGORIES=	science # chemistry
 MASTER_SITES=	https://gitlab.com/siesta-project/${PORTNAME}/-/releases/${DISTVERSION}/downloads/
 DISTFILES=	${PORTNAME}-${DISTVERSION}.tar.gz
@@ -51,7 +52,8 @@ CMAKE_ARGS=	-DSIESTA_WITH_MPI=OFF \
 		-Dmstore_FIND_METHOD=source \
 		-Dtoml-f_FIND_METHOD=source \
 		-Dtest-drive_FIND_METHOD=source
-CMAKE_OFF=	SIESTA_TESTS
+CMAKE_OFF=	SIESTA_TESTS \
+		SIESTA_WITH_HOST_OPTIMIZATION
 CMAKE_TESTING_ON=	SIESTA_TESTS
 
 .include <bsd.port.pre.mk>