summaryrefslogtreecommitdiffstats
path: root/redhat/tdebindings/tdebindings-3.5.13.2-fix_ruby_path.patch
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2013-08-17 23:16:27 +0200
committerFrançois Andriot <[email protected]>2013-08-17 23:16:27 +0200
commit3981ced036cda6b6a52203f600990c360571d1f5 (patch)
tree573b36b17eb54ce4e9178a41b3df12dce56bed34 /redhat/tdebindings/tdebindings-3.5.13.2-fix_ruby_path.patch
parent9e497b5b5e1f50f9d3b6df85008b1b2a9aeb45f6 (diff)
downloadtde-packaging-3981ced036cda6b6a52203f600990c360571d1f5.tar.gz
tde-packaging-3981ced036cda6b6a52203f600990c360571d1f5.zip
RPM Packaging: update packages for 3.5.13.2 under Fedora 19
Diffstat (limited to 'redhat/tdebindings/tdebindings-3.5.13.2-fix_ruby_path.patch')
-rw-r--r--redhat/tdebindings/tdebindings-3.5.13.2-fix_ruby_path.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/redhat/tdebindings/tdebindings-3.5.13.2-fix_ruby_path.patch b/redhat/tdebindings/tdebindings-3.5.13.2-fix_ruby_path.patch
new file mode 100644
index 000000000..924e2240c
--- /dev/null
+++ b/redhat/tdebindings/tdebindings-3.5.13.2-fix_ruby_path.patch
@@ -0,0 +1,32 @@
+--- trinity-tdebindings-3.5.13.2/qtruby/rubylib/qtruby/configure.in.in.ORI 2013-08-17 10:49:32.741192663 +0200
++++ trinity-tdebindings-3.5.13.2/qtruby/rubylib/qtruby/configure.in.in 2013-08-17 10:52:27.904466644 +0200
+@@ -54,6 +54,13 @@
+ RUBY_INCLUDEDIR=$RUBY_ARCHDIR
+ RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
+ fi
++
++ # Removes trailing slashes, if any, to avoid fail to install with recent libtool.
++ RUBY_ARCHDIR=${RUBY_ARCHDIR%/}
++ RUBY_SITEDIR=${RUBY_SITEDIR%/}
++ RUBY_LIBDIR=${RUBY_LIBDIR%/}
++ RUBY_RUBYLIBDIR=${RUBY_RUBYLIBDIR%/}
++
+ AC_MSG_RESULT([
+ archdir $RUBY_ARCHDIR,
+ sitearchdir $RUBY_SITEARCHDIR,
+--- trinity-tdebindings-3.5.13.2/korundum/rubylib/korundum/configure.in.in.ORI 2013-08-17 10:58:23.873872686 +0200
++++ trinity-tdebindings-3.5.13.2/korundum/rubylib/korundum/configure.in.in 2013-08-17 10:58:44.416433828 +0200
+@@ -54,6 +54,13 @@
+ RUBY_INCLUDEDIR=$RUBY_ARCHDIR
+ RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
+ fi
++
++ # Removes trailing slashes, if any, to avoid fail to install with recent libtool.
++ RUBY_ARCHDIR=${RUBY_ARCHDIR%/}
++ RUBY_SITEDIR=${RUBY_SITEDIR%/}
++ RUBY_LIBDIR=${RUBY_LIBDIR%/}
++ RUBY_RUBYLIBDIR=${RUBY_RUBYLIBDIR%/}
++
+ AC_MSG_RESULT([
+ archdir $RUBY_ARCHDIR,
+ sitearchdir $RUBY_SITEARCHDIR,