Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Apr 2026 14:23:40 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c6b24b28a177 - main - mail/rspamd: fix plist on !amd64
Message-ID:  <69d5136c.3bb2f.2f7ba3d@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c6b24b28a177f3bb93463f3987372938b104343f

commit c6b24b28a177f3bb93463f3987372938b104343f
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-04-04 00:18:07 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-04-07 14:22:47 +0000

    mail/rspamd: fix plist on !amd64
    
    Plist token %%HYPERSCAN%% is not substituted if the corresponding
    option doesn't exist.  Manually add HYPERSCAN="@comment" when the
    option is not defined.
    
    Tested on armv7.  The arm64 build is still broken due to an outdated
    bundled simdutf, which should probably be unbundled.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2026Q2
---
 mail/rspamd/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/mail/rspamd/Makefile b/mail/rspamd/Makefile
index fe0f4f8f1331..b50fafec6e9e 100644
--- a/mail/rspamd/Makefile
+++ b/mail/rspamd/Makefile
@@ -77,6 +77,12 @@ LUAJIT_USES=		luajit
 LUAJIT_USES_OFF=	lua:51+
 LUAJIT_CMAKE_OFF=	-DENABLE_LUAJIT=OFF
 
+.include <bsd.port.options.mk>
+
+.if ${OPTIONS_DEFINE:NHYPERSCAN}
+PLIST_SUB+=	HYPERSCAN="@comment "
+.endif
+
 post-install:
 	@${MKDIR} \
 		${STAGEDIR}/var/log/rspamd \


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d5136c.3bb2f.2f7ba3d>