Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2024 05:19:02 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: 73df2c267e14 - main - games/pioneer: fix build on !x86
Message-ID:  <202406200519.45K5J2Uq082815@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=73df2c267e14647e8603d953a3c7ec52f334aa0a

commit 73df2c267e14647e8603d953a3c7ec52f334aa0a
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-06-19 22:33:22 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-06-20 05:18:37 +0000

    games/pioneer: fix build on !x86
    
    c++: error: unsupported option '-maes' for target 'powerpc64le-unknown-freebsd14.1'
---
 games/pioneer/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/games/pioneer/Makefile b/games/pioneer/Makefile
index 89ae148c0db1..74aa656a451b 100644
--- a/games/pioneer/Makefile
+++ b/games/pioneer/Makefile
@@ -57,6 +57,12 @@ DOCS_SUB_LIST=		QUICKSTART_PATH="${DOCSDIR}"
 DOCS_SUB_LIST_OFF=	QUICKSTART_PATH="https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${GH_TAGNAME}"
 PROFILER_CMAKE_BOOL=	PROFILER_ENABLED
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} != amd64 && ${ARCH} != i386
+CMAKE_ARGS+=	-DUSE_SSE42:BOOL=OFF
+.endif
+
 post-install-DOCS-on:
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
 



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