[DRE-commits] [ruby-gnome2] 09/09: debian/build: keep compatibility with ruby1.9.1
Antonio Terceiro
terceiro at moszumanska.debian.org
Tue Jan 21 14:04:15 UTC 2014
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-gnome2.
commit ae147146f5b648f9e01dccae2361626da6fec84e
Author: Antonio Terceiro <terceiro at debian.org>
Date: Tue Jan 21 11:03:31 2014 -0300
debian/build: keep compatibility with ruby1.9.1
luckily this won't be needed soon
---
debian/build | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/build b/debian/build
index 150e48d..1e55023 100755
--- a/debian/build
+++ b/debian/build
@@ -1,6 +1,7 @@
#!/bin/sh
set -e
+set -x
if [ $# -ne 1 ]; then
echo "usage: $0 RUBY"
@@ -21,6 +22,12 @@ echo "I: DESTDIR = $pkgdir"
RUBYOPT='-Ku' $ruby extconf.rb
+# TODO remove this when support for ruby1.9.1 is dropped
+if [ "$ruby" = 'ruby1.9.1' ]; then
+ libdir="$pkgdir/$libdir"
+ archdir="$pkgdir/$libdir"
+fi
+
make
make install DESTDIR="$pkgdir" sitelibdir="$libdir" sitearchdir="$archdir"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gnome2.git
More information about the Pkg-ruby-extras-commits
mailing list