git: 4e72a6974cad - main - security/amavisd-new: archivers/rar[i386] is available only for i386/amd64 arches (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jul 2026 10:38:12 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4e72a6974cad8aa024815e408c499fe758aa2156
commit 4e72a6974cad8aa024815e408c499fe758aa2156
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-07-03 10:33:34 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-07-03 10:33:34 +0000
security/amavisd-new: archivers/rar[i386] is available only for i386/amd64 arches (+)
Define correct dependencies on rar only on supported arches
Approved by: portmgr blanket
---
security/amavisd-new/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index 7a01601fa668..8f2ed8dc5e2a 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -148,7 +148,9 @@ RUN_DEPENDS+= file>=4.21:sysutils/file
# at that port, therefore we will block instantly here if the platform does
# not suit rar.
.if ${PORT_OPTIONS:MRAR}
-.if ${ARCH} == "i386" || ${ARCH} == "amd64"
+.if ${ARCH} == "i386"
+RUN_DEPENDS+= ${LOCALBASE}/bin/rar:archivers/rar-i386
+.elif ${ARCH} == "amd64"
RUN_DEPENDS+= ${LOCALBASE}/bin/rar:archivers/rar
.else
IGNORE= archivers/rar is a x86 binary port and is not compatible with ${ARCH}