Project

General

Profile

Bug #7808

[PATCH] Allow to install arch specific code into different location then nonarch

Added by Vit Ondruch over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
ruby -v:
ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-linux]
[ruby-core:52052]

Description

Due to recent changes in configuration, it is pretty easy to allow install architecture specific code into different location (/usr/lib64) then nonarch code (/usr/share) and thus provide better compliancy with FHS [1]. Could you please consider accepting this patch? We are carrying similar patch in Fedora already for ages.

[1] http://www.pathname.com/fhs/pub/fhs-2.3.html

0001-Add-configuration-arch-specific-dir-flag.patch View (1.31 KB) Vit Ondruch, 02/09/2013 08:41 AM


Related issues

Related to Ruby trunk - Feature #5231: Allow to disable versioned paths Closed 08/25/2011

History

#1 [ruby-core:52053] Updated by Hans Mackowiak over 3 years ago

does this patch break that ticket did? #6111

for debianoid system that support more than two architectures, /usr/lib32 and /usr/lib64 are not enough
so i wanted that ruby can be installed "/usr/lib//ruby/" like "/usr/lib/x86_64-linux-gnu/ruby/2.0.0"

i dont know if this breaks FHS

#2 [ruby-core:52064] Updated by Nobuyoshi Nakada over 3 years ago

  • Status changed from Open to Feedback

=begin
Isn't ((%--with-rubyarchprefix%)) enough?

Do you want ((|rubyarchdir|)) not to include ((|ruby_version|))?
=end

#3 [ruby-core:52068] Updated by Vit Ondruch over 3 years ago

--with-rubyarchprefix always prepends --with-rubylibprefix ... therefore you can hardly use it to separate arch libraries into /usr/lib while place noarh into /usr/share

And no, we don't need ruby version, since Fedora provides just single version of Ruby.

#4 [ruby-core:52069] Updated by Vit Ondruch over 3 years ago

Hanmac (Hans Mackowiak) wrote:

does this patch break that ticket did? #6111

No it does not. It just extends what was done for #6111

#5 [ruby-core:52331] Updated by Koichi Sasada over 3 years ago

  • Category set to build
  • Assignee set to Nobuyoshi Nakada
  • Target version set to next minor

critical for 2.0.0?
If it is critical, then please change target version.

#6 [ruby-core:53654] Updated by Vit Ondruch over 3 years ago

  • Status changed from Feedback to Closed

I was able to find suitable configuration options for -p0. I no longer need this patch. Thank you.

Also available in: Atom PDF