diff options
-rw-r--r-- | lang/rust/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile index 8a41b9211627..602dec9eddc4 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -72,6 +72,7 @@ PLIST_SUB+= RUST_TARGET=${RUST_TARGET} USES= compiler gmake libedit python:2.7,build OPTIONS_DEFINE= DOCS GDB LLNEXTGEN PORT_LLVM +OPTIONS_DEFAULT= PORT_LLVM GDB_DESC= Install ports gdb (necessary for debugging rust programs) LLNEXTGEN_DESC= Build with grammar verification @@ -197,7 +198,7 @@ post-configure-DOCS-off: ${REINPLACE_CMD} -e 's,%DOCS%,false,' ${WRKSRC}/config.toml post-configure-PORT_LLVM-on: - ${REINPLACE_CMD} -e 's,%LLVM_CONFIG%,${LLVM_PREFIX},' ${WRKSRC}/config.toml + ${REINPLACE_CMD} -e 's,%LLVM_CONFIG%,${LLVM_CONFIG},' ${WRKSRC}/config.toml post-configure-PORT_LLVM-off: ${REINPLACE_CMD} -e '/%LLVM_CONFIG%/d' ${WRKSRC}/config.toml |