diff --git a/biology/jellyfish/Makefile b/biology/jellyfish/Makefile index 9937ac96c1b2..4079f92b3c4f 100644 --- a/biology/jellyfish/Makefile +++ b/biology/jellyfish/Makefile @@ -1,42 +1,43 @@ PORTNAME= Jellyfish DISTVERSIONPREFIX= v DISTVERSION= 2.3.0 +PORTREVISION= 1 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org COMMENT= Fast, memory-efficient counting of k-mers in DNA LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= yaggo:devel/yaggo LIB_DEPENDS= libhts.so:biology/htslib USES= autoreconf compiler:c++11-lib gmake libtool pathfix pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GNU_CONFIGURE= yes GH_ACCOUNT= gmarcais INSTALL_TARGET= install-strip PLIST_SUB= VER=${PORTVERSION} OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include # SSE code assumes amd64 features .if ${ARCH} != "amd64" CONFIGURE_ARGS+=--without-sse .endif .if ${CHOSEN_COMPILER_TYPE} == gcc CXXFLAGS+= -faligned-new .endif .include diff --git a/biology/jellyfish/files/patch-include_jellyfish_dumper.hpp b/biology/jellyfish/files/patch-include_jellyfish_dumper.hpp new file mode 100644 index 000000000000..2e064ad17f08 --- /dev/null +++ b/biology/jellyfish/files/patch-include_jellyfish_dumper.hpp @@ -0,0 +1,11 @@ +--- include/jellyfish/dumper.hpp.orig 2021-09-11 12:09:13 UTC ++++ include/jellyfish/dumper.hpp +@@ -54,7 +54,7 @@ class dumper_t { (protected) + } + file_names_.push_back(name.str()); + +- out.open(name.str().c_str()); ++ out.open(name.str().c_str(), mode); + if(out.fail()) + throw ErrorWriting(err::msg() << "'" << name.str() << "': " + << "Can't open file for writing" << err::no);