summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-09-11 19:11:59 +0100
committerJim MacArthur <jim.macarthur@codethink.co.uk>2015-01-19 19:07:36 +0000
commitb7c06a59aafe7ae4d17e1a3b3299dc31a211607a (patch)
tree43a5d99130b77069dc89a9774ec4417e10e767e9
parent082ddc8ed5f9b195e7509d936e2c639a47981129 (diff)
downloaddefinitions-b7c06a59aafe7ae4d17e1a3b3299dc31a211607a.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 70135ace..d85d1567 100644
--- a/strata/chef/libyajl2-1.0.1.morph
+++ b/strata/chef/libyajl2-1.0.1.morph
@@ -6,8 +6,8 @@ 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