From dfca76b7b14f7c57f1c3b8409c92596da102bf46 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 19 Jun 2005 21:19:11 +0000 Subject: dont hardcode sys-libs CATEGORY (Portage version: 2.0.51.22-r1) --- sys-libs/uclibc/uclibc-0.9.27-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys-libs/uclibc') diff --git a/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild b/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild index 502b86f847a3..8867e2a9888c 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.1 2005/06/18 06:12:38 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild,v 1.2 2005/06/19 21:19:11 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -74,12 +74,12 @@ alt_rprefix() { } pkg_setup() { - if ! built_with_use sys-libs/uclibc nls && use nls && ! use pregen ; then + if ! built_with_use ${CATEGORY}/uclibc nls && use nls && ! use pregen ; then eerror "You previously built uclibc with USE=-nls." eerror "You cannot generate locale data with this" eerror "system. Please rerun emerge with USE=pregen." die "host cannot support locales" - elif built_with_use sys-libs/uclibc nls && ! use nls ; then + elif built_with_use ${CATEGORY}/uclibc nls && ! use nls ; then eerror "You previously built uclibc with USE=nls." eerror "Rebuilding uClibc with USE=-nls will prob" eerror "destroy your system." -- cgit v1.2.3-65-gdbad