forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
profiles: added FreeBSD 10.2 profile and activated.
- Loading branch information
Yuta Satoh
committed
Aug 19, 2015
1 parent
04ea81a
commit 4901060
Showing
15 changed files
with
134 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.. | ||
../../../../../../arch/amd64-fbsd/clang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright 1999-2015 Gentoo Foundation. | ||
# Distributed under the terms of the GNU General Public License, v2 | ||
# $Id$ | ||
|
||
CHOST="x86_64-gentoo-freebsd10.2" | ||
CHOST_amd64_fbsd="x86_64-gentoo-freebsd10.2" | ||
CHOST_x86_fbsd="i686-gentoo-freebsd10.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# >=dev-lang/python-3.2 requires threads, #494744 | ||
=dev-lang/python-3.2* threads | ||
=dev-lang/python-3.3* threads | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.. | ||
../../../../../releases/freebsd-10.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Copyright 1999-2015 Gentoo Foundation. | ||
# Distributed under the terms of the GNU General Public License, v2 | ||
# $Id$ | ||
|
||
CHOST="i486-gentoo-freebsd10.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.. | ||
../../../../../releases/freebsd-10.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Copyright 1999-2015 Gentoo Foundation. | ||
# Distributed under the terms of the GNU General Public License, v2 | ||
# $Id$ | ||
|
||
# Make sure we don't get wrong versions | ||
<sys-freebsd/freebsd-pam-modules-10.2_alpha | ||
>sys-freebsd/freebsd-pam-modules-10.2.99 | ||
<sys-freebsd/freebsd-rescue-10.2_alpha | ||
>sys-freebsd/freebsd-rescue-10.2.99 | ||
<sys-freebsd/freebsd-pf-10.2_alpha | ||
>sys-freebsd/freebsd-pf-10.2.99 | ||
<sys-freebsd/freebsd-mk-defs-10.2_alpha | ||
>sys-freebsd/freebsd-mk-defs-10.2.99 | ||
<sys-freebsd/freebsd-lib-10.2_alpha | ||
>sys-freebsd/freebsd-lib-10.2.99 | ||
<sys-freebsd/freebsd-libexec-10.2_alpha | ||
>sys-freebsd/freebsd-libexec-10.2.99 | ||
<sys-freebsd/freebsd-bin-10.2_alpha | ||
>sys-freebsd/freebsd-bin-10.2.99 | ||
<sys-freebsd/freebsd-sbin-10.2_alpha | ||
>sys-freebsd/freebsd-sbin-10.2.99 | ||
<sys-freebsd/freebsd-ubin-10.2_alpha | ||
>sys-freebsd/freebsd-ubin-10.2.99 | ||
>sys-freebsd/freebsd-usbin-10.2.99 | ||
<sys-freebsd/freebsd-share-10.2_alpha | ||
>sys-freebsd/freebsd-share-10.2.99 | ||
<sys-freebsd/freebsd-contrib-10.2_alpha | ||
>sys-freebsd/freebsd-contrib-10.2.99 | ||
>sys-freebsd/freebsd-cddl-10.2.99 | ||
<sys-freebsd/boot0-10.2_alpha | ||
>sys-freebsd/boot0-10.2.99 | ||
<sys-freebsd/freebsd-sources-10.2_alpha | ||
>sys-freebsd/freebsd-sources-10.2.99 | ||
|
||
# Mask version of -cddl and -usbin is different for ease of upgrade. bug #491774 | ||
# Please keep <freebsd-cddl-9.2_alpha and <freebsd-usbin-9.1_alpha. | ||
<sys-freebsd/freebsd-cddl-9.2_alpha | ||
<sys-freebsd/freebsd-usbin-9.1_alpha | ||
|
||
# Alexis Ballier <[email protected]> (07 Nov 2011) | ||
# It is in freebsd-ubin starting from FreeBSD 9.0 | ||
sys-process/fuser-bsd | ||
|
||
# Alexis Ballier <[email protected]> (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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Copyright 1999-2015 Gentoo Foundation. | ||
# Distributed under the terms of the GNU General Public License, v2 | ||
# $Id$ | ||
|
||
# freebsd-sources[build-generic] requires clang | ||
sys-devel/llvm clang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Copyright 1999-2015 Gentoo Foundation. | ||
# Distributed under the terms of the GNU General Public License, v2 | ||
# $Id$ | ||
|
||
*>=sys-apps/baselayout-2.0.0 | ||
*>=sys-apps/openrc-0.2.5 | ||
|
||
# Not necessary dev-libs/libiconv and freebsd-contrib in 10.0 and later. | ||
-*dev-libs/libiconv | ||
-*sys-freebsd/freebsd-contrib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright 1999-2015 Gentoo Foundation. | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
-dev-libs/libiconv | ||
-sys-freebsd/freebsd-contrib | ||
sys-freebsd/freebsd-share |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Copyright 1999-2015 Gentoo Foundation. | ||
# Distributed under the terms of the GNU General Public License, v2 | ||
# $Id$ | ||
|
||
bsd-fbsd10fix(){ | ||
# http://svnweb.freebsd.org/ports/head/Mk/bsd.port.mk | ||
|
||
for f in `find ${WORKDIR} -type f \( -name config.libpath -o \ | ||
-name config.rpath -o -name configure -o -name libtool.m4 -o \ | ||
-name ltconfig -o -name libtool -o -name aclocal.m4 -o \ | ||
-name acinclude.m4 \)` ; do \ | ||
sed -i.fbsd10bak \ | ||
-e 's|freebsd1\*)|freebsd1.\*)|g' \ | ||
-e 's|freebsd\[12\]\*)|freebsd[12].*)|g' \ | ||
-e 's|freebsd\[123\]\*)|freebsd[123].*)|g' \ | ||
-e 's|freebsd\[\[12\]\]\*)|freebsd[[12]].*)|g' \ | ||
-e 's|freebsd\[\[123\]\]\*)|freebsd[[123]].*)|g' \ | ||
${f} ; \ | ||
touch -mr ${f}.fbsd10bak ${f} ; \ | ||
rm -f ${f}.fbsd10bak ; \ | ||
einfo "===> FreeBSD 10 autotools fix applied to ${f}"; \ | ||
done | ||
} | ||
|
||
if [[ -n $EAPI ]] ; then | ||
case "$EAPI" in | ||
0|1) | ||
post_src_unpack() { bsd-patch_install-sh ; bsd-fbsd10fix ; } | ||
;; | ||
*) | ||
post_src_prepare() { bsd-patch_install-sh ; bsd-fbsd10fix ; } | ||
;; | ||
esac | ||
fi | ||
|