Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2022 20:39:26 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: 01e94e651f90 - main - emulators/dps8m: enable on powerpc64
Message-ID:  <202209292039.28TKdQoW090407@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=01e94e651f90abe011e95747f81c51b23f2fa24a

commit 01e94e651f90abe011e95747f81c51b23f2fa24a
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-09-29 20:36:41 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-09-29 20:39:21 +0000

    emulators/dps8m: enable on powerpc64
    
    atomic_testandset_64 is not defined, so use atomic_testandset_long.
---
 emulators/dps8m/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/emulators/dps8m/Makefile b/emulators/dps8m/Makefile
index d97a876d99cc..90c833d8eca0 100644
--- a/emulators/dps8m/Makefile
+++ b/emulators/dps8m/Makefile
@@ -11,7 +11,7 @@ LICENSE_NAME=	ICU license
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-ONLY_FOR_ARCHS=	aarch64 amd64
+ONLY_FOR_ARCHS=	aarch64 amd64 powerpc64
 ONLY_FOR_ARCHS_REASON=	__uint128_t is only implemented on 64-bit platforms
 
 LIB_DEPENDS=	libuv.so:devel/libuv
@@ -21,6 +21,7 @@ USES=		gmake
 USE_GITLAB=	yes
 GL_COMMIT=	572f79bb4f0f84a8b16c3892c894c2b9ed64b458
 
+CFLAGS_powerpc64=	-Datomic_testandset_64=atomic_testandset_long
 MAKEFILE=	GNUmakefile
 
 MAKE_ARGS+=	V=1 ATOMICS=BSD



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