pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e9fb894db8f
branches:  trunk
changeset: 438932:4e9fb894db8f
user:      he <he%pkgsrc.org@localhost>
date:      Sat Sep 12 16:39:06 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/webkit24-gtk/hacks.mk |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r b40ccbd56761 -r 4e9fb894db8f www/webkit24-gtk/hacks.mk
--- a/www/webkit24-gtk/hacks.mk Sat Sep 12 15:17:14 2020 +0000
+++ b/www/webkit24-gtk/hacks.mk Sat Sep 12 16:39:06 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2016/03/22 20:10:15 leot Exp $
+# $NetBSD: hacks.mk,v 1.2 2020/09/12 16:39:06 he Exp $
 
 .if !defined(WEBKIT24_GTK_HACKS_MK)
 WEBKIT24_GTK_HACKS_MK= defined
@@ -13,4 +13,13 @@
 CXXFLAGS+=     -march=i586
 .endif
 
+# [Fri Sep 11 11:23:52 CEST 2020 : he]
+# On NetBSD/powerpc, we don't have native 8-byte atomics,
+# but webkit24-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 # WEBKIT24_GTK_HACKS_MK



Home | Main Index | Thread Index | Old Index