Kouhei Sutou
null+****@clear*****
Sat May 24 22:28:56 JST 2014
Kouhei Sutou 2014-05-24 22:28:56 +0900 (Sat, 24 May 2014) New Revision: ce08f185c330341f793aa41a05054b4e3dcc05c4 https://github.com/groonga/heroku-buildpack-groonga/commit/ce08f185c330341f793aa41a05054b4e3dcc05c4 Message: Fix prefix path in pc Modified files: bin/compile Modified: bin/compile (+5 -0) =================================================================== --- bin/compile 2014-05-24 22:26:20 +0900 (e6070b7) +++ bin/compile 2014-05-24 22:28:56 +0900 (be374fe) @@ -45,6 +45,11 @@ Dir.chdir(build_dir) do ln_s(Dir.glob("../vendor/groonga/#{executable_dir}/*"), ".") end end + pc_path = "#{groonga_dir}/lib/pkgconfig/groonga.pc" + pc_content = File.read(pc_path) + File.open(pc_path, "w") do |pc| + pc.puts(pc_content.gsub(/^prefix=\/app/, "prefix=#{build_dir}")) + end puts("-----> Creating Groonga database") ENV["PATH"] = [ -------------- next part -------------- HTML����������������������������...ダウンロード