openbsd-ports/lang/rust/patches/patch-configure
semarie 6e19421df3 update lang/rust to 1.8.0
ok juanfra@
2016-04-13 17:33:51 +00:00

26 lines
869 B
Plaintext

$OpenBSD: patch-configure,v 1.9 2016/04/13 17:33:51 semarie Exp $
Remove requirement for curl or wget.
The snapshot isn't downloaded but copied by post-configure.
Remove requirement for FileCheck (LLVM) used in some tests.
--- configure.orig Mon Apr 11 23:22:03 2016
+++ configure Wed Apr 13 10:23:22 2016
@@ -727,7 +727,7 @@ putvar CFG_BOOTSTRAP_KEY
step_msg "looking for build programs"
-probe_need CFG_CURLORWGET curl wget
+probe CFG_CURLORWGET curl wget
if [ -z "$CFG_PYTHON_PROVIDED" ]; then
probe_need CFG_PYTHON python2.7 python2 python
fi
@@ -1494,7 +1494,7 @@ do
LLVM_INST_DIR=$CFG_LLVM_ROOT
do_reconfigure=0
# Check that LLVm FileCheck is available. Needed for the tests
- need_cmd $LLVM_INST_DIR/bin/FileCheck
+ #need_cmd $LLVM_INST_DIR/bin/FileCheck
fi
if [ ${do_reconfigure} -ne 0 ]