Ticket #52016: webkit2-gtk-snowleopard-fixes.diff
File webkit2-gtk-snowleopard-fixes.diff, 1.7 KB (added by kenneth.f.cunningham@…, 8 years ago) |
---|
-
Portfile
old new 68 68 port:webp \ 69 69 port:zlib 70 70 71 72 # snow leopard with libc++ 73 if {${os.platform} eq "darwin" && ${os.major} == 10 && ${configure.cxx_stdlib} eq "libc++"} { 74 75 #snowleopard requires newer ruby to build than the default <https://trac.macports.org/ticket/52016> 76 depends_build-append \ 77 port:ruby23 78 79 } 80 81 71 82 # PR-152650-2.patch: WIP to re-enable gtk-doc support 72 83 # PR-153138.patch: https://bugs.webkit.org/show_bug.cgi?id=153138 73 84 # PR-157554.patch: https://bugs.webkit.org/show_bug.cgi?id=157554 … … 78 89 PR-157554.patch \ 79 90 PR-157574.patch 80 91 92 93 # snow leopard with libc++ 94 if {${os.platform} eq "darwin" && ${os.major} == 10 && ${configure.cxx_stdlib} eq "libc++"} { 95 96 #force missing PRId64 type definition on snowleopard <https://trac.macports.org/ticket/52016> <https://bugs.webkit.org/show_bug.cgi?id=156596> 97 patchfiles-append \ 98 webkit2-gtk-parsedcontent-add-type.diff 99 100 } 101 102 103 81 104 # Build out-of-tree 82 105 configure.post_args ../${worksrcdir} 83 106 default configure.dir {${workpath}/build} … … 101 124 if {![variant_isset quartz] && ![variant_isset x11]} { 102 125 error "Either +x11 or +quartz is required" 103 126 } 127 128 # snow leopard with libc++ 129 if {${os.platform} eq "darwin" && ${os.major} == 10 && ${configure.cxx_stdlib} eq "libc++"} { 130 131 # does not build with +x11 <https://trac.macports.org/ticket/52016> 132 if {[variant_isset x11]} { 133 error "+x11 variant does not build on snowleopard - please use +quartz-x11 instead" 134 } 135 136 } 137 138 104 139 } 105 140 106 141 post-configure {