[med-svn] [genometools] 07/08: remove build directory from CFLAGS

Sascha Steinbiss satta at debian.org
Fri Sep 2 21:26:19 UTC 2016


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

satta pushed a commit to branch master
in repository genometools.

commit 355011d0b1b2abc9de5493705b3a752637f51431
Author: Sascha Steinbiss <satta at debian.org>
Date:   Fri Sep 2 20:51:35 2016 +0000

    remove build directory from CFLAGS
---
 debian/patches/reproducible | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/patches/reproducible b/debian/patches/reproducible
index 686a8f5..ea10bcf 100644
--- a/debian/patches/reproducible
+++ b/debian/patches/reproducible
@@ -10,6 +10,15 @@ Author: Sascha Steinbiss <satta at debian.org>
  INCLUDEOPT:=-I$(CURDIR)/src -I$(CURDIR)/obj
  
  ifeq ($(shell pkg-config --version > /dev/null 2> /dev/null; echo $$?),0)
+@@ -706,7 +707,7 @@
+ 	$(V_DO)(echo '#ifndef GT_CONFIG_H' ;\
+ 	echo '#define GT_CONFIG_H' ;\
+ 	echo '#define GT_CC "'`$(CC) --version | head -n 1`\" ;\
+-	echo '#define GT_CFLAGS "$(EXP_CFLAGS) $(GT_CFLAGS)"' ;\
++	echo '#define GT_CFLAGS "$(subst $(shell pwd),.,$(EXP_CFLAGS)) $(subst $(shell pwd),.,$(GT_CFLAGS))"' ;\
+ 	echo '$(EXP_CPPFLAGS) $(GT_CPPFLAGS)' | \
+ 	sed -e 's/\([^\]\)"/\1\\"/g' -e 's/^"/\\"/g' -e 's/$$/"/' \
+ 	    -e 's/^/#define GT_CPPFLAGS "/'; \
 @@ -910,6 +911,10 @@
  	bin/examples/sketch_constructed gtdata/sketch/default.style \
  	  www/genometools.org/htdocs/images/constructed.png

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



More information about the debian-med-commit mailing list