From e4856425787f4e7d664ac4982e4db3582dbe6136 Mon Sep 17 00:00:00 2001 From: jrm Date: Fri, 3 Nov 2017 03:45:01 +0000 Subject: biology/diamond: Update to 0.9.11 Upstream changes: https://github.com/bbuchfink/diamond/releases --- biology/diamond/Makefile | 4 ++-- biology/diamond/distinfo | 6 +++--- biology/diamond/files/patch-CMakeLists.txt | 14 +++++++++----- 3 files changed, 14 insertions(+), 10 deletions(-) (limited to 'biology') diff --git a/biology/diamond/Makefile b/biology/diamond/Makefile index 37dca4ecf58c..ebef24c76ed8 100644 --- a/biology/diamond/Makefile +++ b/biology/diamond/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ PORTNAME= diamond -DISTVERSIONPREFIX=v -DISTVERSION= 0.9.10 +DISTVERSIONPREFIX= v +DISTVERSION= 0.9.11 CATEGORIES= biology MAINTAINER= jrm@FreeBSD.org diff --git a/biology/diamond/distinfo b/biology/diamond/distinfo index 10ace62074b2..d5ce6fc6ba85 100644 --- a/biology/diamond/distinfo +++ b/biology/diamond/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1502825197 -SHA256 (bbuchfink-diamond-v0.9.10_GH0.tar.gz) = 0dafd2180466e3617a949cc33bd5ff6ce1673adac3967a11c4ad58521eff188f -SIZE (bbuchfink-diamond-v0.9.10_GH0.tar.gz) = 391302 +TIMESTAMP = 1509586555 +SHA256 (bbuchfink-diamond-v0.9.11_GH0.tar.gz) = 7ec19864480d401b1c2c37582cf144fc6884f72ea713a2f0ec65dc304aa111fb +SIZE (bbuchfink-diamond-v0.9.11_GH0.tar.gz) = 391682 diff --git a/biology/diamond/files/patch-CMakeLists.txt b/biology/diamond/files/patch-CMakeLists.txt index 7ac5dbedcd72..8df7712ea610 100644 --- a/biology/diamond/files/patch-CMakeLists.txt +++ b/biology/diamond/files/patch-CMakeLists.txt @@ -1,13 +1,17 @@ ---- CMakeLists.txt.orig 2016-05-29 16:12:02 UTC +--- CMakeLists.txt.orig 2017-11-03 03:31:11 UTC +++ CMakeLists.txt -@@ -9,12 +9,6 @@ if(BUILD_STATIC) +@@ -9,16 +9,6 @@ if(BUILD_STATIC) set(CMAKE_EXE_LINKER_FLAGS "-static") endif() --include(CheckCXXCompilerFlag) --CHECK_CXX_COMPILER_FLAG("-march=native" COMPILER_SUPPORTS_MARCHNATIVE) --if(COMPILER_SUPPORTS_MARCHNATIVE) +-if(CMAKE_BUILD_MARCH) +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=${CMAKE_BUILD_MARCH}") +-else() +- include(CheckCXXCompilerFlag) +- CHECK_CXX_COMPILER_FLAG("-march=native" COMPILER_SUPPORTS_MARCHNATIVE) +- if(COMPILER_SUPPORTS_MARCHNATIVE) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native") +- endif() -endif() - find_package(ZLIB REQUIRED) -- cgit