Skip to content

Commit

Permalink
On powerpc, pull in devel/libatomic, so that this package builds.
Browse files Browse the repository at this point in the history
Build fix only for this platform; detection for -latomic is already there.
OK'ed by gdt@
  • Loading branch information
he32 committed Sep 22, 2020
1 parent 98d1a50 commit f1f44d3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions databases/mysql57-client/hacks.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# $NetBSD: hacks.mk,v 1.1 2020/09/22 19:39:26 he Exp $

.if !defined(MYSQL_HACKS_MK)
MYSQL_HACKS_MK= defined

# [Tue Sep 22 21:38:02 CEST 2020 : he]
# On NetBSD/powerpc, use devel/libatomic to get 8-byte atomics.
.if ${MACHINE_ARCH} == "powerpc"
.include "../../devel/libatomic/buildlink3.mk"
.endif

.endif # MYSQL_HACKS_MK

0 comments on commit f1f44d3

Please sign in to comment.