aboutsummaryrefslogtreecommitdiffstats
path: root/lang/rust/files/patch-configure
blob: ba22d3f04a97fd7f7d78480e6ba27a9ca8a233fd (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
26
--- configure.orig  2013-04-06 12:44:15.918202587 +0800
+++ configure   2013-04-06 12:45:10.302044128 +0800
@@ -401,7 +401,6 @@
 step_msg "looking for build programs"
 
 probe_need CFG_PERL        perl
-probe_need CFG_CURL        curl
 probe_need CFG_PYTHON      python2.7 python2.6 python2 python
 
 python_version=$($CFG_PYTHON -V 2>&1)
@@ -511,15 +510,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"