diff -Nru libvigraimpex-1.9.0+dfsg/debian/changelog libvigraimpex-1.9.0+dfsg/debian/changelog --- libvigraimpex-1.9.0+dfsg/debian/changelog 2014-07-25 12:40:52.000000000 +0200 +++ libvigraimpex-1.9.0+dfsg/debian/changelog 2014-07-25 13:10:56.000000000 +0200 @@ -1,3 +1,9 @@ +libvigraimpex (1.9.0+dfsg-9) unstable; urgency=low + + * Support hdf5 1.8.13 new packaging layout. + + -- Gilles Filippini Fri, 25 Jul 2014 13:10:56 +0200 + libvigraimpex (1.9.0+dfsg-8) unstable; urgency=medium * QA upload. diff -Nru libvigraimpex-1.9.0+dfsg/debian/rules libvigraimpex-1.9.0+dfsg/debian/rules --- libvigraimpex-1.9.0+dfsg/debian/rules 2014-07-25 12:40:44.000000000 +0200 +++ libvigraimpex-1.9.0+dfsg/debian/rules 2014-07-31 10:25:10.000000000 +0200 @@ -25,6 +25,11 @@ current_version = $(shell cd $(here) && dpkg-parsechangelog | sed -n -r -e "/Version: (.*)/ { s//\1/p; q; }") upstream_version = $(firstword $(subst -,$(space),$(current_version))) +ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),) + export CMAKE_INCLUDE_PATH=/usr/include/hdf5/serial + export CMAKE_LIBRARY_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial +endif + cmake_options = \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_VERBOSE_MAKEFILE=ON \