Date: Wed, 10 Jul 2013 11:25:44 +0000 (UTC) From: Koop Mast <kwm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322652 - in head/devel: . libc++ Message-ID: <201307101125.r6ABPiTR007963@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kwm Date: Wed Jul 10 11:25:44 2013 New Revision: 322652 URL: http://svnweb.freebsd.org/changeset/ports/322652 Log: Add llvm's libc++ stdc++ library, which supports c++11. This is for 9.1-stable so ports can use it. libc++ isn't build by default in 9.x. Borrow some code from the llvm/clang -devel ports for generating svn checkout semi automaticly. Added: head/devel/libc++/ head/devel/libc++/Makefile (contents, props changed) head/devel/libc++/Makefile.svn_rev (contents, props changed) head/devel/libc++/distinfo (contents, props changed) head/devel/libc++/pkg-descr (contents, props changed) head/devel/libc++/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Jul 10 11:23:04 2013 (r322651) +++ head/devel/Makefile Wed Jul 10 11:25:44 2013 (r322652) @@ -947,6 +947,7 @@ SUBDIR += libbonobo-reference SUBDIR += libbonobomm SUBDIR += libburn + SUBDIR += libc++ SUBDIR += libccid SUBDIR += libcfg SUBDIR += libcfu Added: head/devel/libc++/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libc++/Makefile Wed Jul 10 11:25:44 2013 (r322652) @@ -0,0 +1,60 @@ +# Created by: Koop Mast <kwm@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= libc++ +PORTVERSION= ${SVN_REV} +CATEGORIES= devel +MASTER_SITES= LOCAL/kwm + +MAINTAINER= kwm@FreeBSD.org +COMMENT= Llvm's C++ standard library with c++11 support + +BUILD_DEPENDS= clang33:${PORTSDIR}/lang/clang33 + +LICENSE_GROUP= MIT UIUC +LICENSE_NAME_UIUC= University of Illinois/NCSA Open Source License +LICENSE_PERMS_UIUC= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +USE_BZIP2= yes +USES= cmake:outsource +USE_LDCONFIG= yes + +CC= clang33 +CXX= clang++33 +CPP= clang-cpp33 + +.include <bsd.port.options.mk> + +.if ${OSVERSION} < 901502 +IGNORE= Doesn't build due to lack of aligned_alloc() +.endif + +# This check can be replaced with a compiler groks c++11. Suggestions welcome. +.if ${OSVERSION} >= 1000019 +IGNORE= libc++ is in base please use that +.endif + +.if !defined(SVN_REV) +.if defined(BOOTSTRAP) +LANG= "C" +SVN_REV!= svn info http://llvm.org/svn/llvm-project/ | ${GREP} Revision | cut -d' ' -f2 +.else +.include "Makefile.svn_rev" +.endif +.endif + +.if defined(BOOTSTRAP) || defined(SVN_FETCH) +FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion + +do-fetch: + ${MKDIR} ${WRKDIR} + svn export -r ${SVN_REV} \ + http://llvm.org/svn/llvm-project/libcxx/trunk ${WRKSRC} + cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME} + echo "SVN_REV= ${SVN_REV}" > ${MASTERDIR}/Makefile.svn_rev +.endif + +regression-test: build + cd ${WRKSRC}/test && ${SH} ./testit + +.include <bsd.port.mk> Added: head/devel/libc++/Makefile.svn_rev ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libc++/Makefile.svn_rev Wed Jul 10 11:25:44 2013 (r322652) @@ -0,0 +1 @@ +SVN_REV= 185324 Added: head/devel/libc++/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libc++/distinfo Wed Jul 10 11:25:44 2013 (r322652) @@ -0,0 +1,2 @@ +SHA256 (libc++-185324.tar.bz2) = fe074d4c969170075e906191b629d65c854962ec326b3d3c88c95fa384e64b8c +SIZE (libc++-185324.tar.bz2) = 864599 Added: head/devel/libc++/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libc++/pkg-descr Wed Jul 10 11:25:44 2013 (r322652) @@ -0,0 +1,4 @@ +libc++ is a new implementation of the C++ standard library made by the +llvm project targeting C++11. + +WWW: http://libcxx.llvm.org/ Added: head/devel/libc++/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libc++/pkg-plist Wed Jul 10 11:25:44 2013 (r322652) @@ -0,0 +1,114 @@ +include/c++/v1/__bit_reference +include/c++/v1/__config +include/c++/v1/__debug +include/c++/v1/__functional_03 +include/c++/v1/__functional_base +include/c++/v1/__functional_base_03 +include/c++/v1/__hash_table +include/c++/v1/__locale +include/c++/v1/__mutex_base +include/c++/v1/__split_buffer +include/c++/v1/__sso_allocator +include/c++/v1/__std_stream +include/c++/v1/__tree +include/c++/v1/__tuple +include/c++/v1/__tuple_03 +include/c++/v1/__undef_min_max +include/c++/v1/algorithm +include/c++/v1/array +include/c++/v1/atomic +include/c++/v1/bitset +include/c++/v1/cassert +include/c++/v1/ccomplex +include/c++/v1/cctype +include/c++/v1/cerrno +include/c++/v1/cfenv +include/c++/v1/cfloat +include/c++/v1/chrono +include/c++/v1/cinttypes +include/c++/v1/ciso646 +include/c++/v1/climits +include/c++/v1/clocale +include/c++/v1/cmath +include/c++/v1/codecvt +include/c++/v1/complex +include/c++/v1/complex.h +include/c++/v1/condition_variable +include/c++/v1/csetjmp +include/c++/v1/csignal +include/c++/v1/cstdarg +include/c++/v1/cstdbool +include/c++/v1/cstddef +include/c++/v1/cstdint +include/c++/v1/cstdio +include/c++/v1/cstdlib +include/c++/v1/cstring +include/c++/v1/ctgmath +include/c++/v1/ctime +include/c++/v1/cwchar +include/c++/v1/cwctype +include/c++/v1/deque +include/c++/v1/exception +include/c++/v1/ext/__hash +include/c++/v1/ext/hash_map +include/c++/v1/ext/hash_set +include/c++/v1/forward_list +include/c++/v1/fstream +include/c++/v1/functional +include/c++/v1/future +include/c++/v1/initializer_list +include/c++/v1/iomanip +include/c++/v1/ios +include/c++/v1/iosfwd +include/c++/v1/iostream +include/c++/v1/istream +include/c++/v1/iterator +include/c++/v1/limits +include/c++/v1/list +include/c++/v1/locale +include/c++/v1/map +include/c++/v1/memory +include/c++/v1/mutex +include/c++/v1/new +include/c++/v1/numeric +include/c++/v1/ostream +include/c++/v1/queue +include/c++/v1/random +include/c++/v1/ratio +include/c++/v1/regex +include/c++/v1/scoped_allocator +include/c++/v1/set +include/c++/v1/sstream +include/c++/v1/stack +include/c++/v1/stdexcept +include/c++/v1/streambuf +include/c++/v1/string +include/c++/v1/strstream +include/c++/v1/support/solaris/floatingpoint.h +include/c++/v1/support/solaris/wchar.h +include/c++/v1/support/solaris/xlocale.h +include/c++/v1/support/win32/limits_win32.h +include/c++/v1/support/win32/locale_win32.h +include/c++/v1/support/win32/math_win32.h +include/c++/v1/support/win32/support.h +include/c++/v1/system_error +include/c++/v1/tgmath.h +include/c++/v1/thread +include/c++/v1/tuple +include/c++/v1/type_traits +include/c++/v1/typeindex +include/c++/v1/typeinfo +include/c++/v1/unordered_map +include/c++/v1/unordered_set +include/c++/v1/utility +include/c++/v1/valarray +include/c++/v1/vector +lib/libc++.so +lib/libc++.so.1 +lib/libc++.so.1.0 +@dirrmtry include/c++/v1/support/win32 +@dirrmtry include/c++/v1/support/solaris +@dirrmtry include/c++/v1/support +@dirrmtry include/c++/v1/ext +@dirrmtry include/c++/v1 +@dirrmtry include/c++
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307101125.r6ABPiTR007963>