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@