diff options
| author | Robert Clausecker <fuz@FreeBSD.org> | 2026-04-04 00:18:07 +0000 |
|---|---|---|
| committer | Robert Clausecker <fuz@FreeBSD.org> | 2026-04-07 14:25:25 +0000 |
| commit | 497877492066f8a394cc1f5518128013ce0912bb (patch) | |
| tree | bf78b9425739a6d74e54231434b59ec4aaa5d14e | |
| parent | 342948321951c98ee089993e5e3b5fc9bc0ae4ad (diff) | |
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
(cherry picked from commit c6b24b28a177f3bb93463f3987372938b104343f)
| -rw-r--r-- | mail/rspamd/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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 \ |
