diff --git a/recipes/fasta3/build.sh b/recipes/fasta3/build.sh index 7e829f1a772f9..09b5954bf92f4 100755 --- a/recipes/fasta3/build.sh +++ b/recipes/fasta3/build.sh @@ -1,7 +1,9 @@ #!/bin/bash mkdir -pv ${PREFIX}/bin ${PREFIX}/share -export CFLAGS=-L${PREFIX}/lib -make -C src -f ../make/Makefile.linux_sse2 all +case $(uname) in + Darwin) make -C src -f ../make/Makefile.os_x86_64 all LIB_M='-lm' ;; + *) make -C src -f ../make/Makefile.linux_sse2 all LIB_M='-lm' ;; +esac cp {bin/*36,bin/map_db,scripts/*.pl,misc/*.pl} ${PREFIX}/bin cp -R {doc,data,seq} ${PREFIX}/share diff --git a/recipes/fasta3/libpath.patch b/recipes/fasta3/libpath.patch deleted file mode 100644 index 18d4273584219..0000000000000 --- a/recipes/fasta3/libpath.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- make/Makefile.linux64_sse2 2015-07-28 18:27:10.000000000 +0000 -+++ make/Makefile.linux64_sse2.new 2016-01-08 16:29:05.597145563 +0000 -@@ -12,7 +12,7 @@ - - SHELL=/bin/bash - --CC = gcc -g -O -msse2 -+CC = gcc -g -O -msse2 -L${PREFIX}/lib - #CC= gcc -pg -g -O -msse2 -ffast-math - #CC = gcc -g -DDEBUG -msse2 - diff --git a/recipes/fasta3/meta.yaml b/recipes/fasta3/meta.yaml index f145564218ce3..f34e9c0789364 100644 --- a/recipes/fasta3/meta.yaml +++ b/recipes/fasta3/meta.yaml @@ -9,20 +9,13 @@ package: source: url: http://faculty.virginia.edu/wrpearson/fasta/fasta36/fasta-{{ version }}g.tar.gz sha256: {{ hash }} - patches: - - libpath.patch build: - number: 3 - skip: True # [osx] + number: 4 requirements: build: - {{ compiler('c') }} - host: - - zlib - run: - - zlib test: commands: - fasta36 > /dev/null