sync ports with The Matrix
This commit is contained in:
parent
cbcec355c0
commit
c376d85ea0
190 changed files with 4781 additions and 1132 deletions
15
textproc/ruby-nokogiri/patches/patch-_metadata
Normal file
15
textproc/ruby-nokogiri/patches/patch-_metadata
Normal file
|
@ -0,0 +1,15 @@
|
|||
Don't runtime depend on mini_portile2, it's only need for compiling
|
||||
the extension.
|
||||
|
||||
Index: .metadata
|
||||
--- .metadata.orig
|
||||
+++ .metadata
|
||||
@@ -29,7 +29,7 @@ dependencies:
|
||||
- - "~>"
|
||||
- !ruby/object:Gem::Version
|
||||
version: 2.7.0
|
||||
- type: :runtime
|
||||
+ type: :development
|
||||
prerelease: false
|
||||
version_requirements: !ruby/object:Gem::Requirement
|
||||
requirements:
|
14
textproc/ruby-nokogiri/patches/patch-ext_nokogiri_extconf_rb
Normal file
14
textproc/ruby-nokogiri/patches/patch-ext_nokogiri_extconf_rb
Normal file
|
@ -0,0 +1,14 @@
|
|||
Add -I flag position to work with already installed gumbo.h.
|
||||
|
||||
Index: ext/nokogiri/extconf.rb
|
||||
--- ext/nokogiri/extconf.rb.orig
|
||||
+++ ext/nokogiri/extconf.rb
|
||||
@@ -954,7 +954,7 @@ libgumbo_recipe = process_recipe("libgumbo", "1.0.0-no
|
||||
end
|
||||
end
|
||||
end
|
||||
-append_cppflags("-I#{File.join(libgumbo_recipe.path, "include")}")
|
||||
+$CPPFLAGS = "-I#{File.join(libgumbo_recipe.path, "include")} #{$CPPFLAGS}".dup
|
||||
$libs = $libs + " " + File.join(libgumbo_recipe.path, "lib", "libgumbo.a")
|
||||
$LIBPATH = $LIBPATH | [File.join(libgumbo_recipe.path, "lib")]
|
||||
ensure_func("gumbo_parse_with_options", "gumbo.h")
|
Loading…
Add table
Add a link
Reference in a new issue