freebsd-ports/lang/rust/files/patch-configure
Li-Wen Hsu 363f864259 - Update to 0.6
PR:		ports/177665
Submitted by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
2013-04-24 13:46:41 +00:00

26 lines
686 B
Text

--- 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"