summaryrefslogtreecommitdiff
path: root/lang/rust/files/patch-configure
blob: 4c49b411d8ea08c8106b7d3b71f1bde0ef459083 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- configure.orig	2014-01-20 12:44:20.637789551 +0800
+++ configure	2014-01-20 12:45:23.726260411 +0800
@@ -424,7 +424,6 @@
 step_msg "looking for build programs"
 
 probe_need CFG_PERL        perl
-probe_need CFG_CURLORWGET  curl wget
 probe_need CFG_PYTHON      python2.7 python2.6 python2 python
 
 python_version=$($CFG_PYTHON -V 2>&1)
@@ -547,14 +546,6 @@
     fi
 fi
 
-# Force freebsd to build with clang; gcc doesn't like us there
-if [ $CFG_OSTYPE = unknown-freebsd ]
-then
-    step_msg "on FreeBSD, forcing use of clang"
-    CFG_ENABLE_CLANG=1
-    putvar CFG_ENABLE_CLANG
-fi
-
 if [ -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
 then
     err "either clang or gcc is required"