diff --git a/math/lapack/Portfile b/math/lapack/Portfile
index 5ca8fe4a87c..39da73cffa7 100644
a
|
b
|
configure.args-append \ |
41 | 41 | -DBUILD_SHARED_LIBS=ON \ |
42 | 42 | -DCBLAS=ON \ |
43 | 43 | -DLAPACKE=ON \ |
44 | | -DCMAKE_INSTALL_INCLUDEDIR=${prefix}/include/${name} \ |
45 | | -DCMAKE_INSTALL_LIBDIR=${prefix}/lib/${name} \ |
46 | | -DCMAKE_INSTALL_RPATH=${prefix}/lib/${name} \ |
47 | | -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/${name} |
| 44 | -DCMAKE_INSTALL_INCLUDEDIR=${prefix}/include \ |
| 45 | -DCMAKE_INSTALL_LIBDIR=${prefix}/lib \ |
| 46 | -DCMAKE_INSTALL_RPATH=${prefix}/lib \ |
48 | 47 | |
49 | 48 | if {${subport} eq ${name}} { |
50 | 49 | if {[variant_isset gfortran]} { |
… |
… |
if {${subport} eq ${name}} { |
62 | 61 | if {[variant_isset accelerate] || [variant_isset openblas]} { |
63 | 62 | configure.args-append -DUSE_OPTIMIZED_BLAS=ON |
64 | 63 | } |
65 | | post-destroot { |
66 | | # move CMake scripts to the directory cmake expects to find them in |
67 | | xinstall -m 755 -d ${destroot}${cmake_share_module_dir} |
68 | | file delete -force ${destroot}${cmake_share_module_dir} |
69 | | move ${destroot}${prefix}/lib/${name}/cmake \ |
70 | | ${destroot}${cmake_share_module_dir} |
71 | | } |
72 | 64 | } |
73 | 65 | |
74 | 66 | notes "C headers are installed in ${prefix}/include/${name}." |