Skip to content
Permalink
Browse files

cargo: UsingTheRightCompiler

  • Loading branch information
MarcusCalhoun-Lopez committed Mar 26, 2018
1 parent 60ce478 commit ab5ae154397ee479b3fe2f01f7dad918e8d33a49
Showing with 4 additions and 0 deletions.
  1. +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

0 comments on commit ab5ae15

Please sign in to comment.
You can’t perform that action at this time.