aboutsummaryrefslogtreecommitdiff
path: root/emulators/dps8m
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-09-29 20:36:41 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-09-29 20:39:21 +0000
commit01e94e651f90abe011e95747f81c51b23f2fa24a (patch)
tree09f3070274ef1531389fe9df581166dca5968ce9 /emulators/dps8m
parent498b9d98fca2ba1ab100985dd0e85c2db6b8b3c7 (diff)
downloadports-01e94e651f90abe011e95747f81c51b23f2fa24a.tar.gz
ports-01e94e651f90abe011e95747f81c51b23f2fa24a.zip
emulators/dps8m: enable on powerpc64
atomic_testandset_64 is not defined, so use atomic_testandset_long.
Diffstat (limited to 'emulators/dps8m')
-rw-r--r--emulators/dps8m/Makefile3
1 files changed, 2 insertions, 1 deletions
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