Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/webkit-gtk Pull in devel/libatomic on powerpc due ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b451506ef094
branches:  trunk
changeset: 438876:b451506ef094
user:      he <he%pkgsrc.org@localhost>
date:      Fri Sep 11 09:21:32 2020 +0000

description:
Pull in devel/libatomic on powerpc due to lack of native 8-byte atomics.
Fixes build on NetBSD/macppc 9.0, should have no effect elsewhere, so no
revision bump.

diffstat:

 www/webkit-gtk/hacks.mk |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 5e2ca9601d80 -r b451506ef094 www/webkit-gtk/hacks.mk
--- a/www/webkit-gtk/hacks.mk   Fri Sep 11 08:16:18 2020 +0000
+++ b/www/webkit-gtk/hacks.mk   Fri Sep 11 09:21:32 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2015/10/05 16:25:30 leot Exp $
+# $NetBSD: hacks.mk,v 1.2 2020/09/11 09:21:32 he Exp $
 
 .if !defined(WEBKIT_GTK_HACKS_MK)
 WEBKIT_GTK_HACKS_MK=   defined
@@ -13,4 +13,13 @@
 CXXFLAGS+=     -march=i586
 .endif
 
+# [Mon Sep  7 20:40:36 CEST 2020 : he]
+# On NetBSD/powerpc, we don't have native 8-byte atomics,
+# but webkit-gtk insists on using them, so here we need libatomic.
+# (This is a trial balloon -- let's see if autoconf will pick it up...)
+.if ${MACHINE_ARCH} == "powerpc"
+PKG_HACKS+=     powerpc-libatomic
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
 .endif # WEBKIT_GTK_HACKS_MK



Home | Main Index | Thread Index | Old Index