From nobody Sun Mar 22 12:59:38 2026 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fdxGL6Y2Hz6WTRg for ; Sun, 22 Mar 2026 12:59:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fdxGL5ddbz3FP1 for ; Sun, 22 Mar 2026 12:59:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774184378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NcEH1ztFSHao6Wky+TRUKU7XrCdHWQa3EiV9AcOy2mQ=; b=LLmw6yBSe9begayhMJQh9tGfu/eB9ZOMT0QFZ+PuZN+c2Fp9ApkPRaBqpn8WXGoxO6u0x+ jMlQuZoZMGOkZg5iwzpbEO9dfaHHbOBxA7Bd2E1GFxsyzlEfgOL17BADkXA2JhSLWD7rck 5v4mEIek06l6QpoUydVt6BD5rtUO4h1KuSWqVVYBPYf+9uULyA67oLMu5axFJBBdqjI3oH fJQBSNk1FrY2INp7wADVqLcnwDbMWemrQL8foQ+OIK4yZmsxg1Defm9EDtuS2y41lVTh0D Ue2JxzTaRofS8zB/Ul7JRIN8N+Ou7cAuRs4SeioXOnwoRhpCVFfceJgwziAMjw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1774184378; a=rsa-sha256; cv=none; b=vIoJIuyCWcOnRM5yZgNjLjl/SxD32HmZ+RIRqzN0gEULllWEXFWl6aZHt2Aoqqi7ptQXCi aHpQdV1lfVlnQhnjMQFW0CWTL4c9W6nXjH6mfr/HD5MknJlr3zYZ86Ae0zbhb2fEWQCg5m YGdtcPBBTMOwze26rhAw4JdtmhnjbFDxk6+gYFgdRCxWon1epPWUTbA1VBHZsg6rAOFmMc /BK1krCtShv7FILW+qopReDDVEusCROND5Hlj8iY/Qwdb8G6cyJsw1Q+leO9R6ASkoJ5ER HCGZAgTj/7Nhg3w40h9YBrg5wYlOEkn+STeyoPXZIepYny4zRHjL8/I2rJiGXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774184378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NcEH1ztFSHao6Wky+TRUKU7XrCdHWQa3EiV9AcOy2mQ=; b=CRwawyYAgvX8Bvj7JMEmeIYKXadT7ejFWgDNg6pWZnDrDizBw9p/3jgGg5Ca6Wt+C5J34r ARzN86SvWKSSp2RR5v7BbX/gwzTRdnEmg/flBtP+YvAvSiet8H2RujWFtdaWWamdSP7y77 SvoayxelnoU7My72TPzPUNL0WcqFWLMHP3iZ3lblP6heDKDhk9PVBJDU8TZYayPmuZPepl KkjAwRBl+/9D8a1qQimDz5DlUWrjMZ2Vgf7v9QvGheBSJUjC/HVEFZ2bGQDaloLo5vNoIn hCYEy+h0olCKE9Zg7byw7wBvDFf51bw+EulEFifouqE9qUHSeQzK7IZifuwb/g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fdxGL4nWCz10Hs for ; Sun, 22 Mar 2026 12:59:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 421e1 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 22 Mar 2026 12:59:38 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jason W. Bacon Subject: git: f3a8e8b50e62 - main - biology/fastp: Update to 1.2.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jwb X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f3a8e8b50e6241bc719508b807d62d5222553a4f Auto-Submitted: auto-generated Date: Sun, 22 Mar 2026 12:59:38 +0000 Message-Id: <69bfe7ba.421e1.8a1187d@gitrepo.freebsd.org> The branch main has been updated by jwb: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3a8e8b50e6241bc719508b807d62d5222553a4f commit f3a8e8b50e6241bc719508b807d62d5222553a4f Author: Jason W. Bacon AuthorDate: 2026-03-22 12:55:42 +0000 Commit: Jason W. Bacon CommitDate: 2026-03-22 12:55:42 +0000 biology/fastp: Update to 1.2.0 Numerous improvements and fixes since 0.26.0 Changes: https://github.com/OpenGene/fastp/commits/master/ Reported by: hayzam@alchemilla.io Reviewed by: jwb Tested by: jwb --- biology/fastp/Makefile | 5 ++- biology/fastp/distinfo | 6 +-- biology/fastp/files/patch-Makefile | 79 +++++++++++++++++++++++--------------- 3 files changed, 55 insertions(+), 35 deletions(-) diff --git a/biology/fastp/Makefile b/biology/fastp/Makefile index 7d91034eb87c..36ede673577f 100644 --- a/biology/fastp/Makefile +++ b/biology/fastp/Makefile @@ -1,6 +1,6 @@ PORTNAME= fastp DISTVERSIONPREFIX= v -DISTVERSION= 0.26.0 +DISTVERSION= 1.2.0 CATEGORIES= biology MAINTAINER= hayzam@alchemilla.io @@ -11,7 +11,8 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libdeflate.so:archivers/libdeflate \ - libisal.so:devel/isa-l + libisal.so:devel/isa-l \ + libhwy.so:devel/highway USES= gmake localbase:ldflags USE_GITHUB= yes diff --git a/biology/fastp/distinfo b/biology/fastp/distinfo index 6abdf5196be5..c7039f9e2bf7 100644 --- a/biology/fastp/distinfo +++ b/biology/fastp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749236354 -SHA256 (OpenGene-fastp-v0.26.0_GH0.tar.gz) = ab5396f448bece92e599e4d3acc48751fc46f0f43333ca271d229aa95dc47c4e -SIZE (OpenGene-fastp-v0.26.0_GH0.tar.gz) = 166500 +TIMESTAMP = 1773759010 +SHA256 (OpenGene-fastp-v1.2.0_GH0.tar.gz) = fd7e20923e8f748803d54d9e0fabf44a44c748822a65062999e4b7edec6b8da6 +SIZE (OpenGene-fastp-v1.2.0_GH0.tar.gz) = 125582 diff --git a/biology/fastp/files/patch-Makefile b/biology/fastp/files/patch-Makefile index 09efd133c6d8..527c69f39def 100644 --- a/biology/fastp/files/patch-Makefile +++ b/biology/fastp/files/patch-Makefile @@ -1,40 +1,58 @@ ---- Makefile.orig 2025-06-06 00:03:48 UTC -+++ Makefile -@@ -7,6 +7,8 @@ LIBRARY_DIRS ?= - INCLUDE_DIRS ?= - LIBRARY_DIRS ?= +--- Makefile.orig 2026-03-10 03:34:23.000000000 +0000 ++++ Makefile 2026-03-17 16:26:48.654370000 +0000 +@@ -2,6 +2,8 @@ + DIR_SRC := ./src + DIR_OBJ := ./obj -+STRIP ?= strip ++STRIP ?= strip + - SRC := $(wildcard ${DIR_SRC}/*.cpp) - OBJ := $(patsubst %.cpp,${DIR_OBJ}/%.o,$(notdir ${SRC})) - -@@ -15,15 +17,21 @@ CXX ?= g++ + PREFIX ?= /usr/local + BINDIR ?= $(PREFIX)/bin + INCLUDE_DIRS ?= +@@ -15,26 +17,29 @@ BIN_TARGET := ${TARGET} CXX ?= g++ --CXXFLAGS := -std=c++11 -pthread -g -O3 -MD -MP -I${DIR_INC} $(foreach includedir,$(INCLUDE_DIRS),-I$(includedir)) ${CXXFLAGS} -+# Optional flags that the user can override by setting CXXFLAGS in the -+# env or make argument. -pthread is a link flag, and serves no purpose -+# in the compile command. It is handled by -lpthread in LIBS. +-CXXFLAGS := -std=c++11 -pthread -g -O3 -MD -MP -I. -I${DIR_INC} $(foreach includedir,$(INCLUDE_DIRS),-I$(includedir)) ${CXXFLAGS} +CXXFLAGS ?= -g -O3 -MD -MP -+# Required flags -+CXXFLAGS += -std=c++11 -I${DIR_INC} $(foreach includedir,$(INCLUDE_DIRS),-I$(includedir)) - LIBS := -lisal -ldeflate -lpthread - STATIC_FLAGS := -static -Wl,--no-as-needed -pthread --LD_FLAGS := $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(LIBS) $(LD_FLAGS) -+# Append required flags to standard LDFLAGS from env -+LDFLAGS += $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(LIBS) - STATIC_LD_FLAGS := $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(STATIC_FLAGS) $(LIBS) $(STATIC_LD_FLAGS) ++CXXFLAGS += -std=c++11 -I. -I${DIR_INC} $(foreach includedir,$(INCLUDE_DIRS),-I$(includedir)) + LIBS := -lisal -ldeflate -lhwy -lpthread + UNAME_S := $(shell uname -s) + ifeq ($(UNAME_S),Linux) +- # Linux: fully static binary +- LD_FLAGS := $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) -static -Wl,--no-as-needed -pthread $(LIBS) $(LD_FLAGS) ++# Linux: fully static binary ++LD_FLAGS := $(LDFLAGS) $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) -static -Wl,--no-as-needed -pthread $(LIBS) ++else ifeq ($(UNAME_S),Darwin) ++# macOS: link 3rd-party libs statically via .a when available, fallback to dynamic ++FIND_STATIC = $(firstword $(foreach d,$(LIBRARY_DIRS),$(wildcard $(d)/lib$(1).a)) $(wildcard /usr/local/lib/lib$(1).a /opt/homebrew/lib/lib$(1).a)) ++STATIC_LIBS := ++DYNAMIC_LIBS := ++$(foreach lib,isal deflate hwy,\ ++ $(if $(call FIND_STATIC,$(lib)),\ ++ $(eval STATIC_LIBS += $(call FIND_STATIC,$(lib))),\ ++ $(eval DYNAMIC_LIBS += -l$(lib)))) ++LD_FLAGS := $(LDFLAGS) $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(STATIC_LIBS) $(DYNAMIC_LIBS) -lpthread + else +- # macOS: link 3rd-party libs statically via .a when available, fallback to dynamic +- FIND_STATIC = $(firstword $(foreach d,$(LIBRARY_DIRS),$(wildcard $(d)/lib$(1).a)) $(wildcard /usr/local/lib/lib$(1).a /opt/homebrew/lib/lib$(1).a)) +- STATIC_LIBS := +- DYNAMIC_LIBS := +- $(foreach lib,isal deflate hwy,\ +- $(if $(call FIND_STATIC,$(lib)),\ +- $(eval STATIC_LIBS += $(call FIND_STATIC,$(lib))),\ +- $(eval DYNAMIC_LIBS += -l$(lib)))) +- LD_FLAGS := $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(STATIC_LIBS) $(DYNAMIC_LIBS) -lpthread $(LD_FLAGS) ++# Other Unix-like systems (e.g. FreeBSD): use normal dynamic linking ++LD_FLAGS := $(LDFLAGS) $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(LIBS) + endif +- ${BIN_TARGET}:${OBJ} -- $(CXX) $(OBJ) -o $@ $(LD_FLAGS) -+ $(CXX) $(OBJ) -o $@ $(LDFLAGS) + $(CXX) $(OBJ) -o $@ $(LD_FLAGS) - static:${OBJ} - $(CXX) $(OBJ) -o ${BIN_TARGET} $(STATIC_LD_FLAGS) -@@ -38,8 +46,15 @@ clean: +@@ -47,8 +52,16 @@ @rm -rf $(DIR_OBJ) @rm -f $(TARGET) @@ -43,11 +61,12 @@ +# unless DESTDIR is supplied by the user. install: - install $(TARGET) $(BINDIR)/$(TARGET) -+ install $(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET) ++ mkdir -p $(DESTDIR)$(BINDIR) ++ install $(TARGET) $(DESTDIR)$(BINDIR) @echo "Installed." -+ + +# Many package managers use install-strip target if debugging is not enabled +install-strip: install + $(STRIP) $(DESTDIR)$(BINDIR)/$(TARGET) - ++ -include $(OBJ:.o=.d)