biology/minimap2: Upgrade to 2.17

Reported by:    portscout
This commit is contained in:
Jason W. Bacon 2019-05-05 14:56:07 +00:00
parent 490f8e029a
commit 21a82c027a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500860
3 changed files with 9 additions and 7 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= minimap2
DISTVERSIONPREFIX= v
DISTVERSION= 2.16
DISTVERSION= 2.17
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1555901297
SHA256 (lh3-minimap2-v2.16_GH0.tar.gz) = 9d4f1c9f1c2b29c2560b7ad53b2210dabd82161a0f88184f423534bd289433c3
SIZE (lh3-minimap2-v2.16_GH0.tar.gz) = 221287
TIMESTAMP = 1557067380
SHA256 (lh3-minimap2-v2.17_GH0.tar.gz) = 0a3eaa3ef3d9f9e41f48199cc4aac0508366ac644fc3e8fe05e3463acd23d20b
SIZE (lh3-minimap2-v2.17_GH0.tar.gz) = 224006

View File

@ -1,8 +1,10 @@
--- Makefile.orig 2019-02-28 20:49:24 UTC
--- Makefile.orig 2019-05-05 03:49:17 UTC
+++ Makefile
@@ -1,11 +1,19 @@
@@ -1,11 +1,21 @@
-CFLAGS= -g -Wall -O2 -Wc++-compat #-Wextra
-CPPFLAGS= -DHAVE_KALLOC
+# Patches using ?= and adding install target were rejected by developers
+# https://github.com/lh3/minimap2/issues/388
+CFLAGS?= -g -Wall -O2
+CFLAGS+= -Wc++-compat #-Wextra
+CPPFLAGS+= -DHAVE_KALLOC
@ -22,7 +24,7 @@
ifeq ($(arm_neon),) # if arm_neon is not defined
ifeq ($(sse2only),) # if sse2only is not defined
OBJS+=ksw2_extz2_sse41.o ksw2_extd2_sse41.o ksw2_exts2_sse41.o ksw2_extz2_sse2.o ksw2_extd2_sse2.o ksw2_exts2_sse2.o ksw2_dispatch.o
@@ -84,6 +92,15 @@ ksw2_exts2_neon.o:ksw2_exts2_sse.c ksw2.h kalloc.h
@@ -84,6 +94,15 @@ ksw2_exts2_neon.o:ksw2_exts2_sse.c ksw2.h kalloc.h
$(CC) -c $(CFLAGS) $(CPPFLAGS) -DKSW_SSE2_ONLY -D__SSE2__ $(INCLUDES) $< -o $@
# other non-file targets