File 0001-tcl-no-stupid-rpaths.patch of Package ruby2.2

From bdcc1e3113b2595e531d785c3fcb57898cc4843b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcus=20R=C3=BCckert?= <mrueckert@suse.de>
Date: Wed, 8 Mar 2017 17:56:36 +0100
Subject: [PATCH 1/5] tcl no stupid rpaths

---
 ext/tk/extconf.rb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/ext/tk/extconf.rb b/ext/tk/extconf.rb
index c6a2dd52ff..c29d8541fe 100644
--- a/ext/tk/extconf.rb
+++ b/ext/tk/extconf.rb
@@ -224,9 +224,7 @@ def get_shlib_path_head
 
   else
     [
-      '/opt', '/pkg', '/share',
-      '/usr/local/opt', '/usr/local/pkg', '/usr/local/share', '/usr/local',
-      '/usr/opt', '/usr/pkg', '/usr/share', '/usr/contrib', '/usr'
+      '/usr'
     ].each{|dir|
       next unless File.directory?(dir)
 
-- 
2.12.0

openSUSE Build Service is sponsored by