Skip to content

Commit 9c943cb

Browse files
author
i0ntempest
committed
julia: manually fix code signature on arm
Closes: https://trac.macports.org/ticket/64306
1 parent 4009121 commit 9c943cb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lang/julia/Portfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ compilers.setup require_fortran -g95
1111
compiler.blacklist-append {clang < 900}
1212

1313
github.setup JuliaLang julia 1.8.0 v
14-
revision 0
14+
revision 1
1515
categories-append lang math science
1616
maintainers {ieee.org:s.t.smith @essandess} openmaintainer
1717
platforms darwin
@@ -97,6 +97,10 @@ post-destroot {
9797
delete ${destroot}${prefix}/var
9898

9999
system -W ${destroot}${prefix}/bin "install_name_tool -add_rpath ${prefix}/lib julia"
100+
if {${os.arch} eq "arm"} {
101+
# manually fix code signature on arm
102+
system -W ${destroot}${prefix} "/usr/bin/codesign --sign - lib/libjulia.${short_version}.dylib"
103+
}
100104
}
101105

102106
pre-test {

0 commit comments

Comments
 (0)