diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-06-08 03:11:27 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-06-08 03:11:27 +0800 |
commit | 9bea29698508984666b9455aaa02af676464f9ef (patch) | |
tree | c42bb6fa923270e2323ade1025c232151449913a /textproc | |
parent | 1c4f4d43570ec0474194f2864c73eabb27fcd1c0 (diff) | |
download | freebsd-ports-gnome-9bea29698508984666b9455aaa02af676464f9ef.tar.gz freebsd-ports-gnome-9bea29698508984666b9455aaa02af676464f9ef.tar.zst freebsd-ports-gnome-9bea29698508984666b9455aaa02af676464f9ef.zip |
Update to 1.4.13
Changes: https://github.com/rubys/nokogumbo/commits/master
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/rubygem-nokogumbo/Makefile | 2 | ||||
-rw-r--r-- | textproc/rubygem-nokogumbo/distinfo | 6 | ||||
-rw-r--r-- | textproc/rubygem-nokogumbo/files/patch-ext_nokogumboc_extconf.rb | 12 |
3 files changed, 10 insertions, 10 deletions
diff --git a/textproc/rubygem-nokogumbo/Makefile b/textproc/rubygem-nokogumbo/Makefile index f25caad75211..eeb56298c38d 100644 --- a/textproc/rubygem-nokogumbo/Makefile +++ b/textproc/rubygem-nokogumbo/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= nokogumbo -PORTVERSION= 1.4.12 +PORTVERSION= 1.4.13 CATEGORIES= textproc rubygems MASTER_SITES= RG diff --git a/textproc/rubygem-nokogumbo/distinfo b/textproc/rubygem-nokogumbo/distinfo index bfd0536e00aa..70f52c3c1a88 100644 --- a/textproc/rubygem-nokogumbo/distinfo +++ b/textproc/rubygem-nokogumbo/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1496418417 -SHA256 (rubygem/nokogumbo-1.4.12.gem) = 99ccae7117b292c05c85fbab6a93652efa25426154a0d2873ad3b5e75dc5f865 -SIZE (rubygem/nokogumbo-1.4.12.gem) = 228352 +TIMESTAMP = 1496842518 +SHA256 (rubygem/nokogumbo-1.4.13.gem) = e003dc6c2be7cb3aef12188eed0a4cacf4e778746377c4fc4c4f2a496d61ff61 +SIZE (rubygem/nokogumbo-1.4.13.gem) = 228352 diff --git a/textproc/rubygem-nokogumbo/files/patch-ext_nokogumboc_extconf.rb b/textproc/rubygem-nokogumbo/files/patch-ext_nokogumboc_extconf.rb index 9169d2238ad9..9b6f0070b74a 100644 --- a/textproc/rubygem-nokogumbo/files/patch-ext_nokogumboc_extconf.rb +++ b/textproc/rubygem-nokogumbo/files/patch-ext_nokogumboc_extconf.rb @@ -1,15 +1,15 @@ ---- ext/nokogumboc/extconf.rb.orig 2017-06-02 16:28:15 UTC +--- ext/nokogumboc/extconf.rb.orig 2017-06-07 15:19:02 UTC +++ ext/nokogumboc/extconf.rb @@ -1,3 +1,4 @@ +require 'rubygems' require 'mkmf' - $CFLAGS += ' -std=c99' + $CFLAGS += " -std=c99" -@@ -12,7 +13,7 @@ if have_library('xml2', 'xmlNewDoc') - .sort_by { |name| name[/nokogiri-([\d.]+)/, 1].split('.').map(&:to_i) } - .last +@@ -10,7 +11,7 @@ if have_library('xml2', 'xmlNewDoc') + select { |name| name.match(%r{gems/nokogiri-([\d.]+)/lib/nokogiri}) }. + sort_by {|name| name[/nokogiri-([\d.]+)/,1].split('.').map(&:to_i)}.last if nokogiri_lib -- nokogiri_ext = nokogiri_lib.sub(%r{lib/nokogiri(.rb)?$}, 'ext/nokogiri') +- nokogiri_ext = nokogiri_lib.sub(%r(lib/nokogiri(.rb)?$), 'ext/nokogiri') + nokogiri_ext = Gem::Specification.find_by_name('nokogiri').extension_dir + "/nokogiri" # if that doesn't work, try workarounds found in Nokogiri's extconf |