From f7d5c084adecf1855916c4a2877f15ad415cea9b Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Tue, 5 Sep 2006 22:45:12 +0000 Subject: Don't build protoize on FreeBSD, again. --- eclass/toolchain.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'eclass/toolchain.eclass') 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 -- cgit v1.2.3-65-gdbad