aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2022-01-09 21:11:26 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2022-01-09 21:11:26 +0000
commit0de37f12210842c0a9dfb07844e1b9d83ea13df5 (patch)
treee38007bc97ee185b380ba46eec5589aceeea9805
parentb5caaa3191499bf8edc53134a9cbf01523ade8b1 (diff)
downloadports-0de37f12210842c0a9dfb07844e1b9d83ea13df5.tar.gz
ports-0de37f12210842c0a9dfb07844e1b9d83ea13df5.zip
lang/julia: switch from p7zip to 7-Zip
PR: 261052 Submitted by: Eric Reardon (maintainer)
-rw-r--r--lang/julia/Makefile3
-rw-r--r--lang/julia/files/patch-base_Makefile11
2 files changed, 13 insertions, 1 deletions
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):