1
0

patch-configure 857 B

1234567891011121314151617181920
  1. --- yajl-2.0.1.orig/configure 2011-04-28 04:48:41.000000000 +0200
  2. +++ yajl-2.0.1/configure 2014-01-11 13:06:37.000000000 +0100
  3. @@ -38,7 +38,7 @@ FileUtils.rm_f("Makefile")
  4. puts "== running CMake in build directory"
  5. FileUtils.mkdir("build")
  6. FileUtils.cd("build") do
  7. - if (!system("cmake -DCMAKE_INSTALL_PREFIX='#{prefix}' .."))
  8. + if (!system("cmake -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_INSTALL_PREFIX='#{prefix}' .."))
  9. puts "The \"cmake\" program is required to configure yajl. It's"
  10. puts "available from most ports/packaging systems and http://cmake.org"
  11. exit 1
  12. @@ -49,7 +49,7 @@ end
  13. puts "== Generating Makefile"
  14. File.open("Makefile", "w+") do |f|
  15. f.puts ".PHONY: all clean distclean install package test distro"
  16. - f.puts "all: distro doc test"
  17. + f.puts "all: distro"
  18. f.puts
  19. f.puts "distro:"
  20. f.puts " @cd build && make"