pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/webkit-gtk



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Sep 25 08:57:51 UTC 2022

Modified Files:
        pkgsrc/www/webkit-gtk: Makefile

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.237 -r1.238 pkgsrc/www/webkit-gtk/Makefile

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

Modified files:

Index: pkgsrc/www/webkit-gtk/Makefile
diff -u pkgsrc/www/webkit-gtk/Makefile:1.237 pkgsrc/www/webkit-gtk/Makefile:1.238
--- pkgsrc/www/webkit-gtk/Makefile:1.237        Fri Sep 16 19:56:33 2022
+++ pkgsrc/www/webkit-gtk/Makefile      Sun Sep 25 08:57:51 2022
@@ -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 @@ CTF_SUPPORTED=       no
 # 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