Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/samtools/files: samtools-1.2-buildsystem.patch
Date: Sat, 28 Feb 2015 10:51:41
Message-Id: 20150228105124.0BD9612BAB@oystercatcher.gentoo.org
1 jlec 15/02/28 10:51:24
2
3 Modified: samtools-1.2-buildsystem.patch
4 Log:
5 Fix depend rules in make which break due to unbundling of htslib, #541134; use LD_LIBRARY_PATH druing tests
6
7 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
8
9 Revision Changes Path
10 1.2 sci-biology/samtools/files/samtools-1.2-buildsystem.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/samtools/files/samtools-1.2-buildsystem.patch?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/samtools/files/samtools-1.2-buildsystem.patch?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/samtools/files/samtools-1.2-buildsystem.patch?r1=1.1&r2=1.2
15
16 Index: samtools-1.2-buildsystem.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-biology/samtools/files/samtools-1.2-buildsystem.patch,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- samtools-1.2-buildsystem.patch 18 Feb 2015 10:21:10 -0000 1.1
23 +++ samtools-1.2-buildsystem.patch 28 Feb 2015 10:51:24 -0000 1.2
24 @@ -1,8 +1,8 @@
25 - Makefile | 76 ++++++++++++++++++++++++++++++++++++----------------------------
26 - 1 file changed, 43 insertions(+), 33 deletions(-)
27 + Makefile | 94 +++++++++++++++++++++++++++++++++++-----------------------------
28 + 1 file changed, 52 insertions(+), 42 deletions(-)
29
30 diff --git a/Makefile b/Makefile
31 -index e368cee..bebb7af 100644
32 +index e368cee..9054526 100644
33 --- a/Makefile
34 +++ b/Makefile
35 @@ -21,11 +21,12 @@
36 @@ -136,6 +136,47 @@
37 test/merge/test_bam_translate test/merge/test_bam_translate.tmp
38 test/merge/test_pretty_header
39 test/merge/test_rtrans_build
40 +@@ -191,31 +201,31 @@ check test: samtools $(BGZIP) $(BUILT_TEST_PROGRAMS)
41 + test/split/test_parse_args
42 +
43 +
44 +-test/merge/test_bam_translate: test/merge/test_bam_translate.o test/test.o $(HTSLIB)
45 ++test/merge/test_bam_translate: test/merge/test_bam_translate.o test/test.o
46 + $(CC) -pthread $(LDFLAGS) -o $@ test/merge/test_bam_translate.o test/test.o $(HTSLIB) $(LDLIBS) -lz
47 +
48 +-test/merge/test_pretty_header: test/merge/test_pretty_header.o $(HTSLIB)
49 ++test/merge/test_pretty_header: test/merge/test_pretty_header.o
50 + $(CC) -pthread $(LDFLAGS) -o $@ test/merge/test_pretty_header.o $(HTSLIB) $(LDLIBS) -lz
51 +
52 +-test/merge/test_rtrans_build: test/merge/test_rtrans_build.o $(HTSLIB)
53 ++test/merge/test_rtrans_build: test/merge/test_rtrans_build.o
54 + $(CC) -pthread $(LDFLAGS) -o $@ test/merge/test_rtrans_build.o $(HTSLIB) $(LDLIBS) -lz
55 +
56 +-test/merge/test_trans_tbl_init: test/merge/test_trans_tbl_init.o $(HTSLIB)
57 ++test/merge/test_trans_tbl_init: test/merge/test_trans_tbl_init.o
58 + $(CC) -pthread $(LDFLAGS) -o $@ test/merge/test_trans_tbl_init.o $(HTSLIB) $(LDLIBS) -lz
59 +
60 +-test/split/test_count_rg: test/split/test_count_rg.o test/test.o $(HTSLIB)
61 ++test/split/test_count_rg: test/split/test_count_rg.o test/test.o
62 + $(CC) -pthread $(LDFLAGS) -o $@ test/split/test_count_rg.o test/test.o $(HTSLIB) $(LDLIBS) -lz
63 +
64 +-test/split/test_expand_format_string: test/split/test_expand_format_string.o test/test.o $(HTSLIB)
65 ++test/split/test_expand_format_string: test/split/test_expand_format_string.o test/test.o
66 + $(CC) -pthread $(LDFLAGS) -o $@ test/split/test_expand_format_string.o test/test.o $(HTSLIB) $(LDLIBS) -lz
67 +
68 +-test/split/test_filter_header_rg: test/split/test_filter_header_rg.o test/test.o $(HTSLIB)
69 ++test/split/test_filter_header_rg: test/split/test_filter_header_rg.o test/test.o
70 + $(CC) -pthread $(LDFLAGS) -o $@ test/split/test_filter_header_rg.o test/test.o $(HTSLIB) $(LDLIBS) -lz
71 +
72 +-test/split/test_parse_args: test/split/test_parse_args.o test/test.o $(HTSLIB)
73 ++test/split/test_parse_args: test/split/test_parse_args.o test/test.o
74 + $(CC) -pthread $(LDFLAGS) -o $@ test/split/test_parse_args.o test/test.o $(HTSLIB) $(LDLIBS) -lz
75 +
76 +-test/vcf-miniview: test/vcf-miniview.o $(HTSLIB)
77 ++test/vcf-miniview: test/vcf-miniview.o
78 + $(CC) -pthread $(LDFLAGS) -o $@ test/vcf-miniview.o $(HTSLIB) $(LDLIBS) -lz
79 +
80 + test_test_h = test/test.h $(htslib_sam_h)
81 @@ -252,10 +262,10 @@ misc/md5sum-lite: misc/md5sum-lite.o
82 misc/wgsim: misc/wgsim.o
83 $(CC) $(LDFLAGS) -o $@ misc/wgsim.o $(LDLIBS) -lm -lz