Permalink
Browse files
cargo: UsingTheRightCompiler
- Loading branch information
Showing
with
4 additions
and
0 deletions.
-
+4
−0
devel/cargo/Portfile
|
|
@@ -68,6 +68,10 @@ build.target build |
|
|
build.args --release -j${build.jobs} |
|
|
build.env OPENSSL_DIR=${prefix} |
|
|
|
|
|
# see https://trac.macports.org/wiki/UsingTheRightCompiler |
|
|
build.env-append CC=${configure.cc} \ |
|
|
CXX=${configure.cxx} |
|
|
|
|
|
destroot { |
|
|
xinstall ${worksrcpath}/target/release/cargo ${destroot}${prefix}/bin |
|
|
|
|
|
|