summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-09-11 19:11:59 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-09-12 09:53:37 +0100
commit28527ecacc400022437ebc73088b0dafbb88c719 (patch)
tree39a1f3eabe269db2a3bfc669d9bfaf86dfea0c13
parenta285b693b5ffe6c537df2439d1a37baaa23fc89d (diff)
downloaddefinitions-28527ecacc400022437ebc73088b0dafbb88c719.tar.gz
chef: Fix libyajl2 build
Needs to be told to use the system-wide version, not its own bundled copy.
-rw-r--r--strata/chef/libyajl2-1.0.1.morph4
1 files changed, 2 insertions, 2 deletions
diff --git a/strata/chef/libyajl2-1.0.1.morph b/strata/chef/libyajl2-1.0.1.morph
index 2b494d6f..12a6a5b8 100644
--- a/strata/chef/libyajl2-1.0.1.morph
+++ b/strata/chef/libyajl2-1.0.1.morph
@@ -6,10 +6,10 @@ products:
include:
- usr/lib/ruby/gems/\d[\w.]*/doc/.*
build-commands:
-- gem build libyajl2.gemspec
+- USE_SYSTEM_LIBYAJL2=yes gem build libyajl2.gemspec
install-commands:
- mkdir -p "$DESTDIR/$(gem environment home)"
-- gem install --install-dir "$DESTDIR/$(gem environment home)" --bindir "$DESTDIR/$PREFIX/bin"
+- USE_SYSTEM_LIBYAJL2=yes gem install --install-dir "$DESTDIR/$(gem environment home)" --bindir "$DESTDIR/$PREFIX/bin"
--ignore-dependencies --local ./libyajl2-1.0.1.gem
x-build-dependencies-rubygems: {}
x-runtime-dependencies-rubygems: {}