head	1.5;
access;
symbols
	RELEASE_8_3_0:1.2;
locks; strict;
comment	@# @;


1.5
date	2013.01.07.06.52.35;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.10.18.07.03.50;	author vanilla;	state Exp;
branches;
next	1.3;

1.3
date	2012.04.07.16.22.23;	author scheidell;	state dead;
branches;
next	1.2;

1.2
date	2012.02.02.18.17.31;	author jgh;	state Exp;
branches;
next	1.1;

1.1
date	2012.01.23.16.07.04;	author lwhsu;	state Exp;
branches;
next	;


desc
@@


1.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310023
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310023 | lwhsu | 2013-01-07 06:35:04 +0000 (Mon, 07 Jan 2013) | 5 lines
## SVN ##
## SVN ## - Update to 0.5
## SVN ##
## SVN ## PR:		ports/174670
## SVN ## Submitted by:	Jyun-Yan You <jyyou@@cs.nctu.edu.tw> (maintainer)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@--- configure.orig	2012-12-19 07:29:12.000000000 +0800
+++ configure	2012-12-24 20:52:33.524922231 +0800
@@@@ -363,7 +363,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)
@@@@ -472,15 +471,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"
@@@@ -516,7 +506,7 @@@@
                       | cut -d ' ' -f 2)
 
     case $CFG_CLANG_VERSION in
-        (3.0svn | 3.0 | 3.1 | 4.0 | 4.1)
+        (3.0svn | 3.0 | 3.1 | 3.2 | 4.0 | 4.1)
         step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
         CFG_C_COMPILER="clang"
         ;;
@


1.4
log
@SVN rev 306053 on 2012-10-18 07:03:50Z by vanilla

Upgrade to 0.4.

PR:		ports/172791
Submitted by:	maintainer
Feature safe:   yes
@
text
@d1 3
a3 3
--- configure.orig	2012-10-16 22:28:10.833921513 +0800
+++ configure	2012-10-16 22:30:18.122921502 +0800
@@@@ -312,7 +312,6 @@@@
d11 17
a27 1
@@@@ -451,7 +450,7 @@@@
@


1.3
log
@- Update to 0.2
- The bootstrap compiler needs "cc" to link objects.

PR:		ports/166551
Submitted by:	Jyun-Yan You <jyyou@@cs.nctu.edu.tw> (maintainer)
Feature safe:	yes
@
text
@d1 4
a4 9
--- ./configure.orig	2012-01-26 10:47:57.178803535 +0800
+++ ./configure	2012-01-26 10:48:24.324805426 +0800
@@@@ -340,7 +340,8 @@@@
     CFG_CLANG_VERSION=$("$CFG_CLANG" \
                       --version \
                       | grep version \
-                      | cut -d ' ' -f 3)
+                      | sed 's/.*\(version .*\)/\1/' \
+                      | cut -d ' ' -f 2)
d6 3
a8 5
     case $CFG_CLANG_VERSION in
         (3.0svn | 3.0 | 3.1)
@@@@ -534,14 +535,23 @@@@
 	# Disable unused LLVM features
 	LLVM_OPTS="$LLVM_DBG_OPTS --disable-docs --disable-jit --enable-bindings=none --disable-threads --disable-pthreads"
d10 3
a12 18
-	LLVM_CXX_32="g++ -m32"
-	LLVM_CC_32="gcc -m32"
+	if [ "$CFG_C_COMPILER" = "clang" ]
+	then
+	    LLVM_CXX_32="clang++ -m32"
+	    LLVM_CC_32="clang -m32"
+	    LLVM_CXX_64="clang++"
+	    LLVM_CC_64="clang"
+	else
+	    LLVM_CXX_32="g++ -m32"
+	    LLVM_CC_32="gcc -m32"
+	    LLVM_CXX_64="g++"
+	    LLVM_CC_64="gcc"
+	fi
+
 	LLVM_CFLAGS_32="-m32"
 	LLVM_CXXFLAGS_32="-m32"
 	LLVM_LDFLAGS_32="-m32"
d14 6
a19 5
-	LLVM_CXX_64="g++"
-	LLVM_CC_64="gcc"
 	LLVM_CFLAGS_64=""
 	LLVM_CXXFLAGS_64=""
 	LLVM_LDFLAGS_64=""
@


1.2
log
@- fix linker errors for systems that have installed llvm
- let clang build llvm
- fix build on ${OSVERSION} < 800107

PR: ports/164467
Submitted by: maintainer, jyyou at cs.nctu.edu.tw
Approved by:	crees (mentor)
@
text
@@


1.1
log
@Add rust 0.1, a language with a focus on memory safety and concurrency.

PR:		ports/164366
Submitted by:	Jyun-Yan You <jyyou@@cs.nctu.edu.tw>
@
text
@d1 3
a3 11
--- configure.orig	2012-01-22 04:29:36.401802685 +0800
+++ configure	2012-01-22 11:40:28.231803897 +0800
@@@@ -281,7 +281,6 @@@@
 
 probe_need CFG_PERL         perl
 probe_need CFG_PYTHON       python python2.6 python2 python3
-probe_need CFG_CURL         curl
 
 probe CFG_GIT              git
 probe CFG_CLANG            clang++
@@@@ -340,7 +339,8 @@@@
d13 28
@

