forked from bioconda/bioconda-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsamtools.patch
More file actions
40 lines (36 loc) · 1.29 KB
/
samtools.patch
File metadata and controls
40 lines (36 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--- samtools-0.1.9/misc/Makefile 2015-08-10 21:46:55.000000000 +0000
+++ samtools-0.1.9/misc/Makefile.new 2015-12-17 20:19:24.563431278 +0000
@@ -1,11 +1,11 @@
CC= gcc
CXX= g++
-CFLAGS= -g -Wall -O2 #-m64 #-arch ppc
+CFLAGS= -g -Wall -O2 -I${PREFIX}/include -L${PREFIX}/lib #-m64 #-arch ppc
CXXFLAGS= $(CFLAGS)
DFLAGS= -D_FILE_OFFSET_BITS=64
OBJS=
PROG= md5sum-lite md5fa maq2sam-short maq2sam-long wgsim
-INCLUDES= -I..
+INCLUDES= -I.. -I${PREFIX}/include
SUBDIRS= .
.SUFFIXES:.c .o
--- samtools-0.1.9/Makefile 2015-12-17 20:44:01.578167339 +0000
+++ samtools-0.1.9/Makefile.new 2015-12-17 20:44:18.199175335 +0000
@@ -1,5 +1,5 @@
CC= gcc
-CFLAGS= -g -Wall -O2 #-m64 #-arch ppc
+CFLAGS= -g -Wall -O2 -L${PREFIX}/lib -I${PREFIX}/include #-m64 #-arch ppc
DFLAGS= -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE -D_CURSES_LIB=1
KNETFILE_O= knetfile.o
LOBJS= bgzf.o kstring.o bam_aux.o bam.o bam_import.o sam.o bam_index.o \
@@ -9,10 +9,10 @@
bam_rmdup.o bam_rmdupse.o bam_mate.o bam_stat.o bam_color.o \
bamtk.o kaln.o bam2bcf.o errmod.o sample.o
PROG= samtools
-INCLUDES= -I.
+INCLUDES= -I. -I${PREFIX}/include -I${PREFIX}/include/ncurses
SUBDIRS= . bcftools misc
-LIBPATH=
-LIBCURSES= -lcurses # -lXCurses
+LIBPATH= -L${PREFIX}/lib
+LIBCURSES= -lncurses # -lXCurses
.SUFFIXES:.c .o