mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
Update to 1.4.12
Changes: https://github.com/rubys/nokogumbo/commits/master
This commit is contained in:
parent
f002fc23e5
commit
4d2a883e0e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442441
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= nokogumbo
|
||||
PORTVERSION= 1.4.11
|
||||
PORTVERSION= 1.4.12
|
||||
CATEGORIES= textproc rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user