From 28527ecacc400022437ebc73088b0dafbb88c719 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Thu, 11 Sep 2014 19:11:59 +0100 Subject: chef: Fix libyajl2 build Needs to be told to use the system-wide version, not its own bundled copy. --- strata/chef/libyajl2-1.0.1.morph | 4 ++-- 1 file 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: {} -- cgit v1.2.1