Date: Fri, 2 Jun 2017 18:14:54 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442441 - in head/textproc/rubygem-nokogumbo: . files Message-ID: <201706021814.v52IEsdM065263@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Jun 2 18:14:53 2017 New Revision: 442441 URL: https://svnweb.freebsd.org/changeset/ports/442441 Log: Update to 1.4.12 Changes: https://github.com/rubys/nokogumbo/commits/master Modified: head/textproc/rubygem-nokogumbo/Makefile head/textproc/rubygem-nokogumbo/distinfo head/textproc/rubygem-nokogumbo/files/patch-ext_nokogumboc_extconf.rb Modified: head/textproc/rubygem-nokogumbo/Makefile ============================================================================== --- head/textproc/rubygem-nokogumbo/Makefile Fri Jun 2 18:14:48 2017 (r442440) +++ head/textproc/rubygem-nokogumbo/Makefile Fri Jun 2 18:14:53 2017 (r442441) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= nokogumbo -PORTVERSION= 1.4.11 +PORTVERSION= 1.4.12 CATEGORIES= textproc rubygems MASTER_SITES= RG Modified: head/textproc/rubygem-nokogumbo/distinfo ============================================================================== --- head/textproc/rubygem-nokogumbo/distinfo Fri Jun 2 18:14:48 2017 (r442440) +++ head/textproc/rubygem-nokogumbo/distinfo Fri Jun 2 18:14:53 2017 (r442441) @@ -1,3 +1,3 @@ -TIMESTAMP = 1495123830 -SHA256 (rubygem/nokogumbo-1.4.11.gem) = cb1c65be1ffc8c2aad77bd35f2822aaf46b118d60deea18b77cbf51936c708c7 -SIZE (rubygem/nokogumbo-1.4.11.gem) = 228352 +TIMESTAMP = 1496418417 +SHA256 (rubygem/nokogumbo-1.4.12.gem) = 99ccae7117b292c05c85fbab6a93652efa25426154a0d2873ad3b5e75dc5f865 +SIZE (rubygem/nokogumbo-1.4.12.gem) = 228352 Modified: head/textproc/rubygem-nokogumbo/files/patch-ext_nokogumboc_extconf.rb ============================================================================== --- head/textproc/rubygem-nokogumbo/files/patch-ext_nokogumboc_extconf.rb Fri Jun 2 18:14:48 2017 (r442440) +++ head/textproc/rubygem-nokogumbo/files/patch-ext_nokogumboc_extconf.rb Fri Jun 2 18:14:53 2017 (r442441) @@ -1,15 +1,15 @@ ---- ext/nokogumboc/extconf.rb.orig 2015-07-26 21:04:54 UTC +--- ext/nokogumboc/extconf.rb.orig 2017-06-02 16:28:15 UTC +++ ext/nokogumboc/extconf.rb @@ -1,3 +1,4 @@ +require 'rubygems' require 'mkmf' - $CFLAGS += " -std=c99" + $CFLAGS += ' -std=c99' -@@ -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 +@@ -12,7 +13,7 @@ if have_library('xml2', 'xmlNewDoc') + .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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706021814.v52IEsdM065263>