[visp] 01/01: fix compil issues

Olivier Sallou osallou at debian.org
Tue May 19 13:21:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

osallou pushed a commit to branch master
in repository visp.

commit 0f8bf7234cf40390bbd0426435ab34af58258761
Author: Olivier Sallou <olivier.sallou at debian.org>
Date:   Mon May 18 17:19:26 2015 +0200

    fix compil issues
---
 debian/changelog |  7 +++++++
 debian/rules     | 17 ++++++++++-------
 2 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c78e987..85e4962 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 at 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 973b8e0..21a298c 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
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/visp.git



More information about the debian-science-commits mailing list