pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
webkit-gtk: try to build on Darwin
Module Name: pkgsrc-wip
Committed By: Adam Ciarciński <adam%defguard.net@localhost>
Pushed By: adam
Date: Fri Mar 13 13:44:57 2026 +0100
Changeset: 536693b3221970966066ef44e8a5ebb9e5e36e4a
Modified Files:
webkit-gtk/Makefile
Log Message:
webkit-gtk: try to build on Darwin
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=536693b3221970966066ef44e8a5ebb9e5e36e4a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
webkit-gtk/Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diffs:
diff --git a/webkit-gtk/Makefile b/webkit-gtk/Makefile
index 50e82ac846..994f8fe5d8 100644
--- a/webkit-gtk/Makefile
+++ b/webkit-gtk/Makefile
@@ -19,8 +19,8 @@ TOOL_DEPENDS+= gettext-tools>=0.18:../../devel/gettext-tools
TOOL_DEPENDS+= unifdef-[0-9]*:../../devel/unifdef
TOOL_DEPENDS+= ${PYPKGPREFIX}-gi-docgen-[0-9]*:../../devel/py-gi-docgen
+USE_CXX_FEATURES= c++17
USE_LANGUAGES= c c++
-USE_CXX_FEATURES+= c++17
USE_TOOLS+= automake bash bison flex gdbus-codegen gmake perl pkg-config msgfmt
# this doesn't seem to be using the pkg-config file, which would add this
@@ -63,6 +63,9 @@ CMAKE_CONFIGURE_ARGS+= -DUSE_GSTREAMER_GL=ON
CMAKE_CONFIGURE_ARGS+= -DUSE_LIBBACKTRACE=OFF
CMAKE_CONFIGURE_ARGS+= -DENABLE_WEBDRIVER=OFF
CMAKE_CONFIGURE_ARGS+= -DUSE_GTK4=OFF
+.if ${OPSYS} == "Darwin"
+CMAKE_CONFIGURE_ARGS+= -DUSE_LIBDRM=OFF
+.endif
# otherwise, libsqlite3.so from ${BUILDLINK_DIR} is hardcoded into some binaries
CMAKE_CONFIGURE_ARGS+= -DSQLite3_LIBRARY=${BUILDLINK_PREFIX.sqlite3}/lib/libsqlite3.so
@@ -189,7 +192,9 @@ CHECK_PORTABILITY_SKIP+= Tools/TestWebKitAPI/Scripts/generate-unified-sources.sh
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../devel/gperf/buildlink3.mk"
+.if ${PKGSRC_COMPILER} == "gcc"
.include "../../devel/libatomic/buildlink3.mk"
+.endif
.include "../../devel/pango/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/harfbuzz-icu/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index