summaryrefslogtreecommitdiff
path: root/package/yajl/patches/patch-configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-12 13:01:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-12 13:01:44 +0100
commit7bd70b733a54b6d1d26fd0f570328c95cc4858ef (patch)
tree6af6cd410241c6bfb050c020fe685cd1e8c00f67 /package/yajl/patches/patch-configure
parent535d9124e1f78b15e0ecb32818bd4583cbab1d50 (diff)
parent501363db19756c4f82a67b822a00e8444d3962cf (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/yajl/patches/patch-configure')
-rw-r--r--package/yajl/patches/patch-configure11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/yajl/patches/patch-configure b/package/yajl/patches/patch-configure
index 8ab73fc1c..1153f407c 100644
--- a/package/yajl/patches/patch-configure
+++ b/package/yajl/patches/patch-configure
@@ -1,5 +1,14 @@
--- yajl-2.0.1.orig/configure 2011-04-28 04:48:41.000000000 +0200
-+++ yajl-2.0.1/configure 2013-07-30 15:34:21.000000000 +0200
++++ yajl-2.0.1/configure 2014-01-11 13:06:37.000000000 +0100
+@@ -38,7 +38,7 @@ FileUtils.rm_f("Makefile")
+ puts "== running CMake in build directory"
+ FileUtils.mkdir("build")
+ FileUtils.cd("build") do
+- if (!system("cmake -DCMAKE_INSTALL_PREFIX='#{prefix}' .."))
++ if (!system("cmake -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_INSTALL_PREFIX='#{prefix}' .."))
+ puts "The \"cmake\" program is required to configure yajl. It's"
+ puts "available from most ports/packaging systems and http://cmake.org"
+ exit 1
@@ -49,7 +49,7 @@ end
puts "== Generating Makefile"
File.open("Makefile", "w+") do |f|