pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/webkit24-gtk3



Module Name:    pkgsrc
Committed By:   he
Date:           Sun Sep 13 21:20:23 UTC 2020

Modified Files:
        pkgsrc/www/webkit24-gtk3: hacks.mk

Log Message:
Use devel/libatomic on powerpc to make this package build.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/webkit24-gtk3/hacks.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/webkit24-gtk3/hacks.mk
diff -u pkgsrc/www/webkit24-gtk3/hacks.mk:1.1 pkgsrc/www/webkit24-gtk3/hacks.mk:1.2
--- pkgsrc/www/webkit24-gtk3/hacks.mk:1.1       Tue Mar 22 20:10:15 2016
+++ pkgsrc/www/webkit24-gtk3/hacks.mk   Sun Sep 13 21:20:23 2020
@@ -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/13 21:20:23 he Exp $
 
 .if !defined(WEBKIT24_GTK3_HACKS_MK)
 WEBKIT24_GTK3_HACKS_MK=        defined
@@ -13,4 +13,13 @@ PKG_HACKS+=  i386-atomicops
 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_GTK3_HACKS_MK



Home | Main Index | Thread Index | Old Index