diff --git a/debian/changelog b/debian/changelog index c78e987887f97ee42a3e7157d32ebd14c41ccce8..85e496202db761df714cf41d4e599058600d9fe4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +visp (2.10.0-3) unstable; urgency=medium + + * Override dh_install to avoid an error on kfreebsd where usr/lib/*/visp/* + doesn't exist + + -- Fabien Spindler <Fabien.Spindler@inria.fr> Mon, 18 May 2015 08:49:35 +0200 + visp (2.10.0-2) unstable; urgency=medium * Add patch to fix segfault on sparc, powerpc... diff --git a/debian/rules b/debian/rules index 973b8e0f782c5979fc90c558970604f9edbc8c1e..21a298c151e4d843249e9ded054af12c2c4ffb11 100755 --- a/debian/rules +++ b/debian/rules @@ -60,11 +60,11 @@ else endif -.PHONY: override_dh_auto_configure \ - override_dh_auto_build-indep \ - override_dh_strip \ - override_dh_auto_test \ - override_dh_install +.PHONY: override_dh_auto_configure \ + override_dh_auto_build-indep \ + override_dh_strip \ + override_dh_auto_test \ + override_dh_install %: dh $@ --parallel @@ -105,8 +105,11 @@ override_dh_auto_test: override_dh_install: ifneq ($(DEB_HOST_ARCH_OS),hurd) - # On hurd usr/lib/*/visp/* is empty and produces an error + ifneq ($(DEB_HOST_ARCH_OS),kfreebsd) + # On hurd and kfreebsd usr/lib/*/visp/* is empty and produces an error dh_install "usr/lib/*/visp/*" -p libvisp-dev - # Continue zith regular dh_install + # Continue with regular dh_install dh_install + endif endif +