git: 1c76a4d9861a - main - archivers/xarchive: 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:16 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1c76a4d9861a28f818a35c46292e61e70744158d
commit 1c76a4d9861a28f818a35c46292e61e70744158d
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-07-03 10:37:29 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-07-03 10:37:29 +0000
archivers/xarchive: archivers/rar[i386] is available only for i386/amd64 arches (+)
Define correct dependencies on rar only on supported arches
Approved by: portmgr blanket
---
archivers/xarchive/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/archivers/xarchive/Makefile b/archivers/xarchive/Makefile
index 8bea3eca13f3..e371d2dc1709 100644
--- a/archivers/xarchive/Makefile
+++ b/archivers/xarchive/Makefile
@@ -29,8 +29,10 @@ ZIP_DESC= ZIP archive support
ARJ_RUN_DEPENDS= arj:archivers/arj
ACE_RUN_DEPENDS= unace:archivers/unace
DEB_RUN_DEPENDS= dpkg-deb:archivers/dpkg
-RAR_RUN_DEPENDS= rar:archivers/rar \
- unrar:archivers/unrar
+RAR_RUN_DEPENDS= unrar:archivers/unrar \
+ ${RAR_RUN_DEPENDS_${ARCH}}
+RAR_RUN_DEPENDS_amd64= rar:archivers/rar
+RAR_RUN_DEPENDS_i386= rar:archivers/rar-i386
RPM_RUN_DEPENDS= rpm2cpio:archivers/rpm2cpio \
rpm:archivers/rpm4
ZIP_RUN_DEPENDS= zip:archivers/zip