summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuta SATOH <nigoro@gentoo.gr.jp>2013-12-19 20:49:28 +0900
committerYuta SATOH <nigoro@gentoo.gr.jp>2013-12-19 20:49:28 +0900
commited203e32bb103679c1372b6992ef7b1b59c613e6 (patch)
tree7099fbf3cec98e15f004c2d606e5c4fdaf3dac62 /profiles
parentcatalyst-2.0.15: version bump (diff)
downloadgentoo-bsd-ed203e32bb103679c1372b6992ef7b1b59c613e6.tar.gz
gentoo-bsd-ed203e32bb103679c1372b6992ef7b1b59c613e6.tar.bz2
gentoo-bsd-ed203e32bb103679c1372b6992ef7b1b59c613e6.zip
added freebsd 10.0 profiles, copy 9.2 profile from official tree.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/arch/amd64-fbsd/clang/ChangeLog43
-rw-r--r--profiles/arch/amd64-fbsd/clang/make.defaults8
-rw-r--r--profiles/arch/amd64-fbsd/clang/package.use.force17
-rw-r--r--profiles/arch/amd64-fbsd/clang/package.use.mask16
-rw-r--r--profiles/arch/amd64-fbsd/clang/packages10
-rw-r--r--profiles/arch/amd64-fbsd/clang/packages.build53
-rw-r--r--profiles/arch/amd64-fbsd/clang/parent1
-rw-r--r--profiles/arch/amd64-fbsd/clang/profile.bashrc8
-rw-r--r--profiles/default/bsd/fbsd/amd64/10.0/clang/parent1
-rw-r--r--profiles/default/bsd/fbsd/amd64/10.0/make.defaults11
-rw-r--r--profiles/default/bsd/fbsd/amd64/10.0/parent2
-rw-r--r--profiles/default/bsd/fbsd/x86/10.0/make.defaults9
-rw-r--r--profiles/default/bsd/fbsd/x86/10.0/parent2
-rw-r--r--profiles/releases/freebsd-10.0/package.mask50
-rw-r--r--profiles/releases/freebsd-10.0/packages6
-rw-r--r--profiles/releases/freebsd-10.0/parent1
16 files changed, 238 insertions, 0 deletions
diff --git a/profiles/arch/amd64-fbsd/clang/ChangeLog b/profiles/arch/amd64-fbsd/clang/ChangeLog
new file mode 100644
index 0000000..b6446cd
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/ChangeLog
@@ -0,0 +1,43 @@
+# ChangeLog for profile directory
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.2/clang/ChangeLog,v 1.2 2013/08/10 02:33:31 aballier Exp $
+
+ 10 Aug 2013; Alexis Ballier <aballier@gentoo.org> package.use.force:
+ force clang useflag on llvm
+
+ 27 Jul 2013; Alexis Ballier <aballier@gentoo.org> package.use.force:
+ build libcxx multilib, patch by Yuta SATOH in bug #475294
+
+ 19 Jun 2013; Alexis Ballier <aballier@gentoo.org> +make.defaults:
+ add default cflags, esp. CXXFLAGS=-stdlib=libc++ ...
+
+ 19 Jun 2013; Alexis Ballier <aballier@gentoo.org> package.use.force,
+ package.use.mask:
+ force curl[ssl,curl_ssl_openssl] and mask the others: curl is in @system for
+ this profile so better have it with sane defaults.
+
+ 19 Jun 2013; Alexis Ballier <aballier@gentoo.org> -package.unmask:
+ no need to unmask clang 3.3 now that it is unmasked globally
+
+ 17 Jun 2013; Alexis Ballier <aballier@gentoo.org> +package.unmask:
+ Unmask llvm/clang 3.3_rc since llvm 3.2 does not build with clang++
+ -stdlib=libc++
+
+ 01 Jun 2013; Alexis Ballier <aballier@gentoo.org> package.use.force,
+ package.use.mask:
+ Build libcxxrt over libgcc_s since that is what clang defaults to.
+
+ 31 May 2013; Alexis Ballier <aballier@gentoo.org> package.use.mask:
+ libunwind is rather core for our C++ stack. Better not have it link to
+ liblzma for smaller debug info.
+
+ 31 May 2013; Alexis Ballier <aballier@gentoo.org> package.use.force:
+ Force building libc++ over libcxxrt
+
+ 31 May 2013; Alexis Ballier <aballier@gentoo.org> +package.use.force:
+ Force static libs on the C++ stack so that static linking has a chance to
+ work
+
+ 30 May 2013; Alexis Ballier <aballier@gentoo.org> +package.use.mask:
+ Mask binutils[cxx], bug #427344 (and add a ChangeLog here)
+
diff --git a/profiles/arch/amd64-fbsd/clang/make.defaults b/profiles/arch/amd64-fbsd/clang/make.defaults
new file mode 100644
index 0000000..693bf18
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2013 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: $
+
+CFLAGS="-O2 -pipe"
+CXXFLAGS="-stdlib=libc++ ${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
diff --git a/profiles/arch/amd64-fbsd/clang/package.use.force b/profiles/arch/amd64-fbsd/clang/package.use.force
new file mode 100644
index 0000000..114d9cb
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/package.use.force
@@ -0,0 +1,17 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# Force building libc++ over libcxxrt.
+sys-libs/libcxx libcxxrt
+
+# Force static libs and multilib on the C++ stack.
+sys-libs/libcxxrt static-libs abi_x86_32
+sys-libs/libcxx static-libs abi_x86_32
+
+# Force openssl on curl since cmakes needs it and is in @system because of
+# libcxx on this profile. Mask the other ssl providers.
+net-misc/curl ssl curl_ssl_openssl
+
+# We obviously need clang
+sys-devel/llvm clang
diff --git a/profiles/arch/amd64-fbsd/clang/package.use.mask b/profiles/arch/amd64-fbsd/clang/package.use.mask
new file mode 100644
index 0000000..9c2ad32
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/package.use.mask
@@ -0,0 +1,16 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# Build libcxxrt over libgcc_s since that is what clang defaults to.
+sys-libs/libcxxrt libunwind
+
+# Needs to be fixed: cxx useflag enables plugins and gold.
+# gold fails to build with clang:
+# https://bugs.gentoo.org/show_bug.cgi?id=427344
+# http://llvm.org/bugs/show_bug.cgi?id=12299
+sys-devel/binutils cxx
+
+# Force openssl on curl since cmakes needs it and is in @system because of
+# libcxx on this profile. Mask the other ssl providers.
+net-misc/curl curl_ssl_axtls curl_ssl_cyassl curl_ssl_gnutls curl_ssl_nss curl_ssl_polarssl
diff --git a/profiles/arch/amd64-fbsd/clang/packages b/profiles/arch/amd64-fbsd/clang/packages
new file mode 100644
index 0000000..ded54d2
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/packages
@@ -0,0 +1,10 @@
+# Copyright 1999-2013 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: $
+
+# Don't remove gcc from here: clang uses it for crt{begin,end}*.o and its c++
+# stack.
+
+*sys-devel/llvm
+*sys-devel/clang
+*sys-libs/libcxx
diff --git a/profiles/arch/amd64-fbsd/clang/packages.build b/profiles/arch/amd64-fbsd/clang/packages.build
new file mode 100644
index 0000000..ee299d6
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/packages.build
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# This file describes the packages needed to build a stage 1 based on this
+# profile. Packages in this file are built in order.
+
+# Please do not move perl before baselayout doing so will break lib -> lib64
+# symlinks on systems that use them.
+
+app-arch/bzip2
+app-arch/gzip
+dev-libs/openssl
+app-arch/libarchive
+app-shells/bash
+net-misc/rsync
+net-misc/wget
+sys-devel/autoconf
+sys-devel/automake
+sys-devel/libtool
+sys-apps/openrc
+sys-apps/baselayout
+sys-apps/diffutils
+sys-apps/file
+sys-apps/findutils
+sys-apps/gawk
+sys-apps/grep
+sys-apps/less
+sys-apps/portage
+sys-apps/sed
+sys-devel/binutils
+sys-devel/bison
+sys-devel/flex
+sys-devel/gcc
+dev-libs/libiconv
+sys-devel/gettext
+sys-devel/gnuconfig
+sys-devel/make
+sys-devel/patch
+virtual/editor
+virtual/libc
+virtual/os-headers
+sys-freebsd/freebsd-mk-defs
+sys-freebsd/freebsd-lib
+sys-freebsd/freebsd-libexec
+sys-freebsd/freebsd-bin
+sys-freebsd/freebsd-sbin
+sys-freebsd/freebsd-ubin
+sys-freebsd/freebsd-usbin
+sys-freebsd/freebsd-contrib
+sys-devel/llvm
+sys-devel/clang
+sys-libs/libcxx
diff --git a/profiles/arch/amd64-fbsd/clang/parent b/profiles/arch/amd64-fbsd/clang/parent
new file mode 100644
index 0000000..f3229c5
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/amd64-fbsd/clang/profile.bashrc b/profiles/arch/amd64-fbsd/clang/profile.bashrc
new file mode 100644
index 0000000..9ae60c1
--- /dev/null
+++ b/profiles/arch/amd64-fbsd/clang/profile.bashrc
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+# Check if clang/clang++ exist before setting them so that we can more easily
+# switch to this profile and build stages.
+type -P clang > /dev/null && export CC=clang
+type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ] && export CXX="clang++ -stdlib=libc++"
diff --git a/profiles/default/bsd/fbsd/amd64/10.0/clang/parent b/profiles/default/bsd/fbsd/amd64/10.0/clang/parent
new file mode 100644
index 0000000..f3229c5
--- /dev/null
+++ b/profiles/default/bsd/fbsd/amd64/10.0/clang/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/default/bsd/fbsd/amd64/10.0/make.defaults b/profiles/default/bsd/fbsd/amd64/10.0/make.defaults
new file mode 100644
index 0000000..c79bd46
--- /dev/null
+++ b/profiles/default/bsd/fbsd/amd64/10.0/make.defaults
@@ -0,0 +1,11 @@
+# Copyright 1999-2012 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: $
+
+CHOST="x86_64-gentoo-freebsd9.2"
+CHOST_amd64_fbsd="x86_64-gentoo-freebsd9.2"
+CHOST_x86_fbsd="i686-gentoo-freebsd9.2"
+
+# Diego Pettenò <flameeyes@gentoo.org> (2 Dec 2006)
+# Turn this on by default as we don't have Java 1.4 and 1.5 at all
+USE="java6"
diff --git a/profiles/default/bsd/fbsd/amd64/10.0/parent b/profiles/default/bsd/fbsd/amd64/10.0/parent
new file mode 100644
index 0000000..78cf737
--- /dev/null
+++ b/profiles/default/bsd/fbsd/amd64/10.0/parent
@@ -0,0 +1,2 @@
+..
+../../../../../releases/freebsd-9.2
diff --git a/profiles/default/bsd/fbsd/x86/10.0/make.defaults b/profiles/default/bsd/fbsd/x86/10.0/make.defaults
new file mode 100644
index 0000000..55ac97a
--- /dev/null
+++ b/profiles/default/bsd/fbsd/x86/10.0/make.defaults
@@ -0,0 +1,9 @@
+# Copyright 1999-2012 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: $
+
+CHOST="i486-gentoo-freebsd9.2"
+
+# Diego Pettenò <flameeyes@gentoo.org> (2 Dec 2006)
+# Turn this on by default as we don't have Java 1.4 and 1.5 at all
+USE="java6"
diff --git a/profiles/default/bsd/fbsd/x86/10.0/parent b/profiles/default/bsd/fbsd/x86/10.0/parent
new file mode 100644
index 0000000..78cf737
--- /dev/null
+++ b/profiles/default/bsd/fbsd/x86/10.0/parent
@@ -0,0 +1,2 @@
+..
+../../../../../releases/freebsd-9.2
diff --git a/profiles/releases/freebsd-10.0/package.mask b/profiles/releases/freebsd-10.0/package.mask
new file mode 100644
index 0000000..245656a
--- /dev/null
+++ b/profiles/releases/freebsd-10.0/package.mask
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: $
+
+# Make sure we don't get wrong versions
+<sys-freebsd/freebsd-pam-modules-9.2_alpha
+>sys-freebsd/freebsd-pam-modules-9.2.99
+<sys-freebsd/freebsd-rescue-9.2_alpha
+>sys-freebsd/freebsd-rescue-9.2.99
+<sys-freebsd/freebsd-pf-9.2_alpha
+>sys-freebsd/freebsd-pf-9.2.99
+<sys-freebsd/freebsd-mk-defs-9.2_alpha
+>sys-freebsd/freebsd-mk-defs-9.2.99
+<sys-freebsd/freebsd-lib-9.2_alpha
+>sys-freebsd/freebsd-lib-9.2.99
+<sys-freebsd/freebsd-libexec-9.2_alpha
+>sys-freebsd/freebsd-libexec-9.2.99
+<sys-freebsd/freebsd-bin-9.2_alpha
+>sys-freebsd/freebsd-bin-9.2.99
+<sys-freebsd/freebsd-sbin-9.2_alpha
+>sys-freebsd/freebsd-sbin-9.2.99
+<sys-freebsd/freebsd-ubin-9.2_alpha
+>sys-freebsd/freebsd-ubin-9.2.99
+<sys-freebsd/freebsd-usbin-9.2_alpha
+>sys-freebsd/freebsd-usbin-9.2.99
+<sys-freebsd/freebsd-share-9.2_alpha
+>sys-freebsd/freebsd-share-9.2.99
+<sys-freebsd/freebsd-contrib-9.2_alpha
+>sys-freebsd/freebsd-contrib-9.2.99
+<sys-freebsd/freebsd-cddl-9.2_alpha
+>sys-freebsd/freebsd-cddl-9.2.99
+<sys-freebsd/boot0-9.2_alpha
+>sys-freebsd/boot0-9.2.99
+<sys-freebsd/freebsd-sources-9.2_alpha
+>sys-freebsd/freebsd-sources-9.2.99
+
+# Alexis Ballier <aballier@gentoo.org> (19 Jul 2008)
+# JDK/JRE 1.5 are specific to fbsd 6 and 5
+=virtual/jdk-1.5*
+=virtual/jre-1.5*
+
+# Alexis Ballier <aballier@gentoo.org> (07 Nov 2011)
+# It is in freebsd-ubin starting from FreeBSD 9.0
+sys-process/fuser-bsd
+
+# Alexis Ballier <aballier@gentoo.org> (11 May 2012)
+# freebsd-lib provides a utempter compatible interface starting from FreeBSD 9.0
+# via libulog.
+# this package does not build anymore as it requires utmp
+sys-libs/libutempter
diff --git a/profiles/releases/freebsd-10.0/packages b/profiles/releases/freebsd-10.0/packages
new file mode 100644
index 0000000..19a680b
--- /dev/null
+++ b/profiles/releases/freebsd-10.0/packages
@@ -0,0 +1,6 @@
+# Copyright 1999-2012 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: $
+
+*>=sys-apps/baselayout-2.0.0
+*>=sys-apps/openrc-0.2.5
diff --git a/profiles/releases/freebsd-10.0/parent b/profiles/releases/freebsd-10.0/parent
new file mode 100644
index 0000000..f3229c5
--- /dev/null
+++ b/profiles/releases/freebsd-10.0/parent
@@ -0,0 +1 @@
+..