Ticket #56956: Portfile-v1.2.0rc2.diff

File Portfile-v1.2.0rc2.diff, 4.4 KB (added by krystophny (Christopher Albert), 5 years ago)
Line 
17,8c7
2< github.setup        JuliaLang julia 0.6.2 v
3< revision            3
4---
5> github.setup        JuliaLang julia 1.2.0-rc2 v
627,28c26,27
7< checksums           rmd160  c5a50b478cbef04ce2937c46173ebc63d9403934 \
8<                     sha256  1e34c13091c9ddb47cf87a51566d94a06613f3db3c483b8f63b276e416dd621b
9---
10> checksums           rmd160  0c51f459d33c9ce9bec222b7460d6eb2f083a173\
11>                     sha256  22df94f012d5fa1c9be03402f5b7fb742288f97b4b15bd9294f6240797653118
1233,36c32
13< set llvm_ver        4.0
14<
15< depends_lib-append  port:llvm-${llvm_ver} \
16<     port:curl \
17---
18> depends_lib-append port:curl \
1957,70c53,71
20<     file mkdir ${worksrcpath}/usr/lib
21<     ln -s ${prefix}/lib/libfftw3.dylib ${worksrcpath}/usr/lib/
22<     ln -s ${prefix}/lib/libfftw3_threads.dylib ${worksrcpath}/usr/lib/
23<     ln -s ${prefix}/lib/libfftw3f.dylib ${worksrcpath}/usr/lib/
24<     ln -s ${prefix}/lib/libfftw3f_threads.dylib ${worksrcpath}/usr/lib/
25<     ln -s ${prefix}/lib/libpcre2-8.dylib ${worksrcpath}/usr/lib/
26<     ln -s ${prefix}/lib/libgmp.dylib ${worksrcpath}/usr/lib/
27<     ln -s ${prefix}/lib/libmpfr.dylib ${worksrcpath}/usr/lib/
28<     ln -s ${prefix}/lib/libumfpack.dylib ${worksrcpath}/usr/lib/
29<     ln -s ${prefix}/lib/libcholmod.dylib ${worksrcpath}/usr/lib/
30<     ln -s ${prefix}/lib/libsuitesparseconfig.dylib ${worksrcpath}/usr/lib/
31<     ln -s ${prefix}/lib/libarpack.dylib ${worksrcpath}/usr/lib/
32<     ln -s ${prefix}/lib/libopenblas.dylib ${worksrcpath}/usr/lib/
33<     ln -s ${prefix}/lib/libgit2.dylib ${worksrcpath}/usr/lib/
34---
35>     file mkdir ${worksrcpath}/usr/lib/julia
36>     ln -s ${prefix}/lib/libfftw3.dylib ${worksrcpath}/usr/lib/julia/
37>     ln -s ${prefix}/lib/libfftw3_threads.dylib ${worksrcpath}/usr/lib/julia/
38>     ln -s ${prefix}/lib/libfftw3f.dylib ${worksrcpath}/usr/lib/julia/
39>     ln -s ${prefix}/lib/libfftw3f_threads.dylib ${worksrcpath}/usr/lib/julia/
40>     ln -s ${prefix}/lib/libpcre2-8.dylib ${worksrcpath}/usr/lib/julia/
41>     ln -s ${prefix}/lib/libgmp.dylib ${worksrcpath}/usr/lib/julia/
42>     ln -s ${prefix}/lib/libmpfr.dylib ${worksrcpath}/usr/lib/julia/
43>     ln -s ${prefix}/lib/libumfpack.dylib ${worksrcpath}/usr/lib/julia/
44>     ln -s ${prefix}/lib/libcholmod.dylib ${worksrcpath}/usr/lib/julia/
45>     ln -s ${prefix}/lib/libsuitesparseconfig.dylib ${worksrcpath}/usr/lib/julia/
46>     ln -s ${prefix}/lib/libamd.dylib ${worksrcpath}/usr/lib/julia/
47>     ln -s ${prefix}/lib/libcamd.dylib ${worksrcpath}/usr/lib/julia/
48>     ln -s ${prefix}/lib/libcolamd.dylib ${worksrcpath}/usr/lib/julia/
49>     ln -s ${prefix}/lib/libccolamd.dylib ${worksrcpath}/usr/lib/julia/
50>     ln -s ${prefix}/lib/libspqr.dylib ${worksrcpath}/usr/lib/julia/
51>     ln -s ${prefix}/lib/libarpack.dylib ${worksrcpath}/usr/lib/julia/
52>     ln -s ${prefix}/lib/libopenblas.dylib ${worksrcpath}/usr/lib/julia/
53>     ln -s ${prefix}/lib/libgit2.dylib ${worksrcpath}/usr/lib/julia/
5480,81c81
55<         USE_SYSTEM_LLVM=1 \
56<         LLVM_CONFIG=llvm-config-mp-${llvm_ver} \
57---
58>         USE_SYSTEM_LLVM=0 \
59111,115d110
60<     move [glob $dpw/julia-*/lib/libjulia.${version}.dylib] ${destroot}${prefix}/lib
61<     move [glob $dpw/julia-*/lib/libjulia-debug.${version}.dylib] ${destroot}${prefix}/lib
62<     move [glob $dpw/julia-*/lib/libjulia.${version}.dylib.dSYM] ${destroot}${prefix}/lib
63<     move [glob $dpw/julia-*/lib/libjulia-debug.${version}.dylib.dSYM] ${destroot}${prefix}/lib
64<
65117,120c112,113
66<     ln -sf libjulia.${version}.dylib       ${destroot}${prefix}/lib/libjulia.dylib
67<     ln -sf libjulia_debug.${version}.dylib ${destroot}${prefix}/lib/libjulia_debug.dylib
68<     ln -sf libjulia.${version}.dylib       ${destroot}${prefix}/lib/libjulia.${version_short}.dylib
69<     ln -sf libjulia_debug.${version}.dylib ${destroot}${prefix}/lib/libjulia_debug.${version_short}.dylib
70---
71>     move [glob $dpw/julia-*/lib/libjulia.${version_short}.dylib] ${destroot}${prefix}/lib
72>     move [glob $dpw/julia-*/lib/libjulia.${version_short}.dylib.dSYM] ${destroot}${prefix}/lib
73122c115,116
74<     delete ${destroot}${prefix}/var
75---
76>     ln -sf libjulia.${version_short}.dylib       ${destroot}${prefix}/lib/libjulia.dylib
77>     ln -sf libjulia.${version_short}.dylib       ${destroot}${prefix}/lib/libjulia.1.dylib
78124,126c118,120
79<     foreach b {julia julia-debug} {
80<         system -W ${destroot}${prefix}/bin "install_name_tool -add_rpath ${prefix}/lib $b"
81<     }
82---
83>     delete ${destroot}${prefix}/var
84>     
85>     system -W ${destroot}${prefix}/bin "install_name_tool -add_rpath ${prefix}/lib julia"