summaryrefslogtreecommitdiff
path: root/eclass
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
commitf7d5c084adecf1855916c4a2877f15ad415cea9b (patch)
tree723d120ace9d8c253e52408b756e4466dd4fa091 /eclass
parentadd support for USE=vanilla (diff)
downloadhistorical-f7d5c084adecf1855916c4a2877f15ad415cea9b.tar.gz
historical-f7d5c084adecf1855916c4a2877f15ad415cea9b.tar.bz2
historical-f7d5c084adecf1855916c4a2877f15ad415cea9b.zip
Don't build protoize on FreeBSD, again.
Diffstat (limited to '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