From a5e49f99011163ef264cb6ad834496426ff57e85 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 21 Feb 2012 05:41:12 +0000 Subject: [PATCH] * template/ruby.pc.in: added rubylibprefix, {rubylib,vendor,site}dir and {ruby,vendor,site}archdir. [ruby-core:42766][Feature #6052] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ template/ruby.pc.in | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 596ad30050..dc6885b3df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 21 14:41:10 2012 Nobuyoshi Nakada + + * template/ruby.pc.in: added rubylibprefix, {rubylib,vendor,site}dir + and {ruby,vendor,site}archdir. [ruby-core:42766][Feature #6052] + Tue Feb 21 09:13:25 2012 Marc-Andre Lafortune * proc.c (method_hash, proc_hash): Fix {Unbound}Method#hash diff --git a/template/ruby.pc.in b/template/ruby.pc.in index 2189667c5e..2d6716c73c 100644 --- a/template/ruby.pc.in +++ b/template/ruby.pc.in @@ -24,6 +24,13 @@ LIBRUBYARG=@LIBRUBYARG@ LIBS=@LIBS@ DLDFLAGS=@DLDFLAGS@ ruby=${bindir}/${RUBY_INSTALL_NAME}@EXEEXT@ +rubylibprefix=@rubylibprefix@ +rubylibdir=${rubylibprefix}/${ruby_version} +vendordir=${rubylibprefix}/vendor_ruby +sitedir=${rubylibprefix}/site_ruby +rubyarchdir=${rubylibdir}/${arch} +vendorarchdir=${vendordir}/${sitearch} +sitearchdir=${sitedir}/${sitearch} rubyhdrdir=@rubyhdrdir@ vendorhdrdir=@vendorhdrdir@ sitehdrdir=@sitehdrdir@