From 3981ced036cda6b6a52203f600990c360571d1f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 17 Aug 2013 23:16:27 +0200 Subject: RPM Packaging: update packages for 3.5.13.2 under Fedora 19 --- .../tdebindings-3.5.13.2-fix_ruby_path.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 redhat/tdebindings/tdebindings-3.5.13.2-fix_ruby_path.patch (limited to 'redhat/tdebindings/tdebindings-3.5.13.2-fix_ruby_path.patch') 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, -- cgit v1.2.1