diff -Nru ruby-hdfeos5-1.2/debian/changelog ruby-hdfeos5-1.2/debian/changelog --- ruby-hdfeos5-1.2/debian/changelog 2014-07-22 20:46:48.000000000 +0200 +++ ruby-hdfeos5-1.2/debian/changelog 2014-07-26 18:26:51.000000000 +0200 @@ -1,3 +1,13 @@ +ruby-hdfeos5 (1.2-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Support hdf5 1.8.13 new packaging layout. + * New patch 0004-hdf5-dir.patch to hard code parameter + --with-hdf5-dir to extconf.rb, because dh_ruby doesn't allow + passing extra parameters. + + -- Gilles Filippini Sat, 26 Jul 2014 16:47:19 +0200 + ruby-hdfeos5 (1.2-2) unstable; urgency=medium * Fix FTBFS: add multiarch search path (Closes: #753188) diff -Nru ruby-hdfeos5-1.2/debian/patches/0004-hdf5-dir.patch ruby-hdfeos5-1.2/debian/patches/0004-hdf5-dir.patch --- ruby-hdfeos5-1.2/debian/patches/0004-hdf5-dir.patch 1970-01-01 01:00:00.000000000 +0100 +++ ruby-hdfeos5-1.2/debian/patches/0004-hdf5-dir.patch 2014-07-26 18:17:47.000000000 +0200 @@ -0,0 +1,10 @@ +Index: ruby-hdfeos5-1.2/extconf.rb +=================================================================== +--- ruby-hdfeos5-1.2.orig/extconf.rb 2014-07-26 18:17:18.871956985 +0200 ++++ ruby-hdfeos5-1.2/extconf.rb 2014-07-26 18:17:45.180828598 +0200 +@@ -1,4 +1,5 @@ + require "mkmf" ++$configure_args["--with-hdf5-dir"] = ENV["HDF5_DIR"] + + require "rbconfig" unless defined? RbConfig + $vendorarchdir=RbConfig::CONFIG['vendorarchdir'] diff -Nru ruby-hdfeos5-1.2/debian/patches/series ruby-hdfeos5-1.2/debian/patches/series --- ruby-hdfeos5-1.2/debian/patches/series 2014-07-22 20:46:48.000000000 +0200 +++ ruby-hdfeos5-1.2/debian/patches/series 2014-07-26 18:26:19.000000000 +0200 @@ -1,3 +1,4 @@ 0001-Fix-NArray-Library-Path.patch 0002-Fix-test-data-path.patch 0003-Fix-printf-debugging.patch +0004-hdf5-dir.patch diff -Nru ruby-hdfeos5-1.2/debian/rules ruby-hdfeos5-1.2/debian/rules --- ruby-hdfeos5-1.2/debian/rules 2014-07-22 20:46:48.000000000 +0200 +++ ruby-hdfeos5-1.2/debian/rules 2014-07-31 18:26:13.000000000 +0200 @@ -1,5 +1,11 @@ #!/usr/bin/make -f +ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),) + export HDF5_DIR := /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial +else + export HDF5_DIR := /usr +endif + %: dh $@ --with ruby --buildsystem ruby