pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/webkit-gtk webkit-gtk: Set USE_PKGSRC_GCC_(RUNTIME...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e3d944e782e7
branches:  trunk
changeset: 385714:e3d944e782e7
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Sep 25 08:57:51 2022 +0000

description:
webkit-gtk: Set USE_PKGSRC_GCC_(RUNTIME) when building on NetBSD 9

We likely need this anyway since WebKit requires GCC 8 at minimum,
but forcing pkgsrc libgcc to be used (and thus bypassing the one
built with the custom build system in NetBSD that doesn't include
__fixdfti on aarch64) may be a useful workaround for PR toolchain/57022

diffstat:

 www/webkit-gtk/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r a5d1f29a856d -r e3d944e782e7 www/webkit-gtk/Makefile
--- a/www/webkit-gtk/Makefile   Sun Sep 25 07:46:22 2022 +0000
+++ b/www/webkit-gtk/Makefile   Sun Sep 25 08:57:51 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.237 2022/09/16 19:56:33 leot Exp $
+# $NetBSD: Makefile,v 1.238 2022/09/25 08:57:51 nia Exp $
 
 DISTNAME=      webkitgtk-2.36.8
 PKGNAME=       ${DISTNAME:S/webkitgtk/webkit-gtk/}
@@ -27,6 +27,13 @@
 # GCC >= 8 is required, it no longer builds with lower versions.
 GCC_REQD+=             8
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099915
+USE_PKGSRC_GCC=                yes
+USE_PKGSRC_GCC_RUNTIME=        yes
+.endif
+
 PKGCONFIG_OVERRIDE+=   Source/JavaScriptCore/javascriptcoregtk.pc.in
 PKGCONFIG_OVERRIDE+=   Source/WebKit/gtk/webkit2gtk-web-extension.pc.in
 PKGCONFIG_OVERRIDE+=   Source/WebKit/gtk/webkit2gtk.pc.in



Home | Main Index | Thread Index | Old Index