Skip to content

Commit

Permalink
update test:examples to libiconv 1.15
Browse files Browse the repository at this point in the history
because 1.14 wasn't running on windows rubies 2.4+ due to what appears
to be an outdated config.guess. I could have downloaded or patched with
an updated config.guess, but this seemed easier and didn't decrease test
coverage meaningfully.
  • Loading branch information
flavorjones committed Jan 28, 2018
1 parent f0f6b7d commit 82af422
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions examples/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,19 @@ def windows?
end

# libiconv
libiconv = MiniPortile.new "libiconv", "1.14"
libiconv = MiniPortile.new "libiconv", "1.15"
libiconv.files << "ftp://ftp.gnu.org/pub/gnu/#{libiconv.name}/#{libiconv.name}-#{libiconv.version}.tar.gz"
unless windows?
libiconv.patch_files = Dir["libiconv-patches/*.patch"].map { |dir| File.expand_path dir }
end

recipes.push libiconv


# sqlite3
sqlite3 = MiniPortile.new "sqlite3", "3.8.4.1"
sqlite3.files << "http://sqlite.org/2014/sqlite-autoconf-3080401.tar.gz"

recipes.push sqlite3


# c-ares
c_ares = MiniPortile.new "c-ares", "1.7.5"
c_ares.files << {
Expand All @@ -33,6 +32,7 @@ c_ares.files << {

recipes.push c_ares


# zlib
class ZlibRecipe < MiniPortile
def windows?
Expand Down Expand Up @@ -92,9 +92,9 @@ zlib.files << {
md5: "44d667c142d7cda120332623eab69f40",
}


recipes.push zlib


namespace :ports do
directory "ports"

Expand Down Expand Up @@ -123,6 +123,7 @@ namespace :ports do
end
end


desc "Adjust all recipes host for cross-compilation"
task :cross do
recipes.each do |recipe|
Expand Down

0 comments on commit 82af422

Please sign in to comment.