summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-18 03:44:33 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-18 03:44:33 +0000
commit6e2be575e5bffc8dff1898dfd69e63aabf274a0a (patch)
tree6f79ffc1f4d8b945b74d8c637ac1c0d004824a1d /sys-libs
parentadd support for installing just headers (diff)
downloadgentoo-2-6e2be575e5bffc8dff1898dfd69e63aabf274a0a.tar.gz
gentoo-2-6e2be575e5bffc8dff1898dfd69e63aabf274a0a.tar.bz2
gentoo-2-6e2be575e5bffc8dff1898dfd69e63aabf274a0a.zip
only check nls stuff if ROOT == /
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/uclibc/uclibc-0.9.27-r1.ebuild3
-rw-r--r--sys-libs/uclibc/uclibc-0.9.28.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild b/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild
index 40a2318ba706..6e198a2f0c21 100644
--- a/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild
+++ b/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild,v 1.11 2005/11/18 03:42:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild,v 1.12 2005/11/18 03:44:33 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -82,6 +82,7 @@ pkg_setup() {
just_headers && return 0
has_version ${CATEGORY}/uclibc || return 0
[[ -n ${UCLIBC_AND_GLIBC} ]] && return 0
+ [[ ${ROOT} != "/" ]] && return 0
if ! built_with_use ${CATEGORY}/uclibc nls && use nls && ! use pregen ; then
eerror "You previously built uclibc with USE=-nls."
diff --git a/sys-libs/uclibc/uclibc-0.9.28.ebuild b/sys-libs/uclibc/uclibc-0.9.28.ebuild
index c64351327454..eb281eedb420 100644
--- a/sys-libs/uclibc/uclibc-0.9.28.ebuild
+++ b/sys-libs/uclibc/uclibc-0.9.28.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28.ebuild,v 1.11 2005/11/18 03:42:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28.ebuild,v 1.12 2005/11/18 03:44:33 vapier Exp $
#ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc"
#inherit subversion
@@ -80,6 +80,7 @@ pkg_setup() {
just_headers && return 0
has_version ${CATEGORY}/uclibc || return 0
[[ -n ${UCLIBC_AND_GLIBC} ]] && return 0
+ [[ ${ROOT} != "/" ]] && return 0
if ! built_with_use ${CATEGORY}/uclibc nls && use nls && ! use pregen ; then
eerror "You previously built uclibc with USE=-nls."