Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2022 21:13:37 GMT
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0de37f122108 - main - lang/julia: switch from p7zip to 7-Zip
Message-ID:  <202201092113.209LDbn3091975@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by makc:

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

commit 0de37f12210842c0a9dfb07844e1b9d83ea13df5
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2022-01-09 21:11:26 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2022-01-09 21:11:26 +0000

    lang/julia: switch from p7zip to 7-Zip
    
    PR:             261052
    Submitted by:   Eric Reardon (maintainer)
---
 lang/julia/Makefile                  |  3 ++-
 lang/julia/files/patch-base_Makefile | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/lang/julia/Makefile b/lang/julia/Makefile
index 29635af78d51..cac210d03cf5 100644
--- a/lang/julia/Makefile
+++ b/lang/julia/Makefile
@@ -3,6 +3,7 @@
 PORTNAME=	julia
 DISTVERSION=	1.7.1
 DISTVERSIONSUFFIX=	-full
+PORTREVISION=	1
 CATEGORIES=	lang math
 MASTER_SITES=	https://github.com/JuliaLang/julia/releases/download/v${DISTVERSION}/
 
@@ -15,7 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.md
 ONLY_FOR_ARCHS=		amd64
 ONLY_FOR_ARCHS_REASON=	Has not been ported to this platform for freebsd
 
-MY_DEPENDS=	7z:archivers/p7zip
+MY_DEPENDS=	7zz:archivers/7-zip
 BUILD_DEPENDS=	patchelf:sysutils/patchelf \
 		cmake:devel/cmake \
 		${MY_DEPENDS}
diff --git a/lang/julia/files/patch-base_Makefile b/lang/julia/files/patch-base_Makefile
new file mode 100644
index 000000000000..2f4734b51e67
--- /dev/null
+++ b/lang/julia/files/patch-base_Makefile
@@ -0,0 +1,11 @@
+--- base/Makefile.orig	2022-01-04 19:47:19 UTC
++++ base/Makefile
+@@ -190,7 +190,7 @@ symlink_p7zip: $(build_bindir)/7z$(EXE)
+ 
+ ifneq ($(USE_SYSTEM_P7ZIP),0)
+ SYMLINK_SYSTEM_LIBRARIES += symlink_p7zip
+-7Z_PATH := $(shell which 7z$(EXE))
++7Z_PATH := $(shell which 7zz$(EXE))
+ endif
+ 
+ $(build_bindir)/7z$(EXE):



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201092113.209LDbn3091975>