[med-svn] [gdcm] 01/02: d/rules: rename gdcmsharpglue.so only when needed. Closes: #871023

Gert Wollny gewo at moszumanska.debian.org
Thu Aug 17 09:53:51 UTC 2017


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

gewo pushed a commit to branch master
in repository gdcm.

commit 34a8259df145c49d97c8087b61a863a17b025ba7
Author: Gert Wollny <gewo at debian.org>
Date:   Mon Aug 7 07:28:26 2017 +0000

    d/rules: rename gdcmsharpglue.so only when needed. Closes: #871023
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 4038709..5d57d2e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -122,7 +122,8 @@ override_dh_auto_install-arch:
 	#mv debian/tmp/usr/lib/_gdcmswig.so* debian/tmp/$(PYMODDIR)/dist-packages/
 
 ifeq ($(DEB_WRAP_CSHARP), 1)	
-	#Csharp correct file name (Why did it change from 2.8.0 to 2.8.2?) 
+	#Csharp correct file name (Why did it change on most archs, and why not on kFreeBSD?)
+	test -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libgdcmsharpglue.so || \
 	mv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gdcmsharpglue.so debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libgdcmsharpglue.so
 endif
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gdcm.git



More information about the debian-med-commit mailing list