[med-svn] [libvcflib] 01/02: We need to build filevercmp.o from gnulib code

Andreas Tille tille at debian.org
Thu Jun 23 14:57:19 UTC 2016


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

tille pushed a commit to branch master
in repository libvcflib.

commit 794103dc2b6a48101d1cb837261d8f63ae6d23d1
Author: Andreas Tille <tille at debian.org>
Date:   Thu Jun 23 14:51:06 2016 +0200

    We need to build filevercmp.o from gnulib code
---
 debian/clean                      | 1 +
 debian/patches/filevercmp.h.patch | 7 +++++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..6139735
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+filevercmp/*
diff --git a/debian/patches/filevercmp.h.patch b/debian/patches/filevercmp.h.patch
index 1b67466..c09b7e0 100644
--- a/debian/patches/filevercmp.h.patch
+++ b/debian/patches/filevercmp.h.patch
@@ -7,12 +7,15 @@ Description: Use filevercmp.h from gnulib package
 
 --- a/Makefile
 +++ b/Makefile
-@@ -186,7 +186,7 @@ $(FASTAHACK): pre
+@@ -186,7 +186,10 @@ $(FASTAHACK): pre
  #	cd fsom && $(CXX) $(CXXFLAGS) -c fsom.c -lm
  
  $(FILEVERCMP): pre
 -	cd filevercmp && make && cp *.h* $(VCF_LIB_LOCAL)/$(INC_DIR)/ && cp *.o $(VCF_LIB_LOCAL)/$(INC_DIR)/
-+	cp /usr/share/gnulib/lib/filevercmp.h $(VCF_LIB_LOCAL)/$(INC_DIR)/
++	mkdir -p filevercmp
++	cp /usr/share/gnulib/lib/filevercmp.* filevercmp
++	cd filevercmp && $(CXX) $(CXXFLAGS) -o filevercmp.o filevercmp.c
++	mv filevercmp/*.h $(VCF_LIB_LOCAL)/$(INC_DIR)/
  
  $(SHORTBINS): pre
  	$(MAKE) bin/$@

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



More information about the debian-med-commit mailing list