git: 52e37a08ce1c - main - archivers/7-zip: Add ASM option for amd64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Mar 2026 16:09:57 UTC
The branch main has been updated by makc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=52e37a08ce1c6b5bdba9f03948386109b9b39052
commit 52e37a08ce1c6b5bdba9f03948386109b9b39052
Author: Evgenii Khramtsov <2khramtsov@gmail.com>
AuthorDate: 2026-03-01 16:08:47 +0000
Commit: Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2026-03-01 16:09:30 +0000
archivers/7-zip: Add ASM option for amd64
to build with jwasm and enable it by default.
PR: 292864
---
archivers/7-zip/Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/archivers/7-zip/Makefile b/archivers/7-zip/Makefile
index 46a4edece312..48a641730a10 100644
--- a/archivers/7-zip/Makefile
+++ b/archivers/7-zip/Makefile
@@ -1,6 +1,6 @@
PORTNAME= 7-zip
DISTVERSION= 26.00
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= archivers
MASTER_SITES= https://www.7-zip.org/a/
DISTNAME= 7z${DISTVERSION:S/.//}-src
@@ -38,6 +38,11 @@ PORTDOCS= 7zC.txt 7zFormat.txt Methods.txt \
lzma.txt readme.txt src-history.txt
OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE_amd64= ASM
+OPTIONS_DEFAULT_amd64= ASM
+
+ASM_BUILD_DEPENDS= jwasm:devel/jwasm
+ASM_MAKE_ARGS= IS_X64=1 USE_ASM=1 USE_JWASM=1
post-patch:
${ECHO_CMD} > ${WRKSRC}/CPP/7zip/warn_clang.mak