Bug #7874 » 0002-Install-pkgconfig-data-to-architecture-specific-path.patch
tool/rbinstall.rb | ||
---|---|---|
install?(:local, :arch, :data) do
|
||
pc = CONFIG["ruby_pc"]
|
||
if pc and File.file?(pc) and File.size?(pc)
|
||
prepare "pkgconfig data", pkgconfigdir = File.join(libdir, "pkgconfig")
|
||
prepare "pkgconfig data", pkgconfigdir = File.join(CONFIG['archlibdir'], "pkgconfig")
|
||
install pc, pkgconfigdir, :mode => $data_mode
|
||
end
|
||
end
|