Commits
Ken Cunningham authored 686b2d4e5a9
59 59 | port:libhttpseverywhere \ |
60 60 | path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk \ |
61 61 | port:gmp |
62 62 | |
63 63 | depends_run port:adwaita-icon-theme \ |
64 64 | port:gnome-keyring |
65 65 | |
66 66 | # error: invalid value 'gnu11' in '-std=gnu11' |
67 67 | compiler.blacklist-append *gcc-3.* *gcc-4.* {clang < 212} |
68 68 | |
69 + | # fix the way the JSC_API_AVAILABLE macro works in WebKitAvailablity.h |
70 + | # fixes JSValueRef.h:54:18: error: missing ',' between enumerators |
71 + | # kJSTypeSymbol JSC_API_AVAILABLE(macosx(JSC_MAC_TBA), ios(JSC_IOS_TBA)) |
72 + | configure.cppflags-append -DBUILDING_GTK__ |
73 + | |
69 74 | # specify a python3 version |
70 75 | patchfiles patch-post-install-python.diff |
71 76 | post-patch { |
72 77 | reinplace "s|@@PYTHON3@@|${prefix}/bin/python3.6|g" post_install.py |
73 78 | } |
74 79 | |
75 80 | post-activate { |
76 81 | system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications" |
77 82 | system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" |
78 83 | } |