summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-09-05 22:45:12 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-09-05 22:45:12 +0000
commit8f50f417dafc7e1087f79a59d2d58e947ac0aada (patch)
treef1a825b53db31d587fdf24b52393b41ad1a143ce /eclass/toolchain.eclass
parentadd support for USE=vanilla (diff)
downloadgentoo-2-8f50f417dafc7e1087f79a59d2d58e947ac0aada.tar.gz
gentoo-2-8f50f417dafc7e1087f79a59d2d58e947ac0aada.tar.bz2
gentoo-2-8f50f417dafc7e1087f79a59d2d58e947ac0aada.zip
Don't build protoize on FreeBSD, again.
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 684e8a44416c..3f6281438e96 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.305 2006/08/27 20:53:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.306 2006/09/05 22:45:12 flameeyes Exp $
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GPL-2 LGPL-2.1"
@@ -1027,7 +1027,8 @@ gcc_src_unpack() {
${ETYPE}_src_unpack || die "failed to ${ETYPE}_src_unpack"
- if ! is_crosscompile ; then
+ # protoize don't build on FreeBSD, skip it
+ if ! is_crosscompile && ! use elibc_FreeBSD ; then
# enable protoize / unprotoize
sed -i -e '/^LANGUAGES =/s:$: proto:' "${S}"/gcc/Makefile.in
fi