diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-09-04 17:32:23 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-09-04 17:32:23 +0000 |
commit | 64152aa7f8f8849e2e1f8a5e89ae44d49b7fb90c (patch) | |
tree | 187e37a6a68cc8bc268b50771615e268caa65088 | |
parent | stable on ppc (Bug #141432) (diff) | |
download | historical-64152aa7f8f8849e2e1f8a5e89ae44d49b7fb90c.tar.gz historical-64152aa7f8f8849e2e1f8a5e89ae44d49b7fb90c.tar.bz2 historical-64152aa7f8f8849e2e1f8a5e89ae44d49b7fb90c.zip |
Don't add the profile useflag to -share and -sources that install non-compiled files.
-rw-r--r-- | eclass/freebsd.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/freebsd.eclass b/eclass/freebsd.eclass index d1e8f7757cb5..00a44bd0463a 100644 --- a/eclass/freebsd.eclass +++ b/eclass/freebsd.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.8 2006/06/10 16:19:54 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.9 2006/09/04 17:32:23 flameeyes Exp $ # # Diego Pettenò <flameeyes@gentoo.org> @@ -31,7 +31,9 @@ RESCUE="freebsd-rescue-${PV}" # Release version (5.3, 5.4, 6.0, etc) RV="$(get_version_component_range 1-2)" -IUSE="profile" +if [[ ${PN} != "freebsd-share" ]] && [[ ${PN} != freebsd-sources ]]; then + IUSE="profile" +fi #unalias -a alias install-info='/usr/bin/bsdinstall-info' |