/[gentoo-x86]/sys-libs/glibc/glibc-2.6.1.ebuild
Gentoo

Diff of /sys-libs/glibc/glibc-2.6.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.18 Revision 1.19
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/Attic/glibc-2.6.1.ebuild,v 1.18 2008/02/28 17:48:05 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/Attic/glibc-2.6.1.ebuild,v 1.19 2008/03/10 15:22:13 vapier Exp $
4 4
5inherit eutils versionator libtool toolchain-funcs flag-o-matic gnuconfig multilib 5inherit eutils versionator libtool toolchain-funcs flag-o-matic gnuconfig multilib
6 6
7DESCRIPTION="GNU libc6 (also called glibc2) C library" 7DESCRIPTION="GNU libc6 (also called glibc2) C library"
8HOMEPAGE="http://www.gnu.org/software/libc/libc.html" 8HOMEPAGE="http://www.gnu.org/software/libc/libc.html"
187} 187}
188 188
189pkg_setup() { 189pkg_setup() {
190 # prevent native builds from downgrading ... maybe update to allow people 190 # prevent native builds from downgrading ... maybe update to allow people
191 # to change between diff -r versions ? (2.3.6-r4 -> 2.3.6-r2) 191 # to change between diff -r versions ? (2.3.6-r4 -> 2.3.6-r2)
192 if [[ ${ROOT} != "/" ]] && ! tc-is-cross-compiler ; then 192 if [[ ${ROOT} == "/" ]] && [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then
193 if has_version '>'${CATEGORY}/${PF} ; then 193 if has_version '>'${CATEGORY}/${PF} ; then
194 eerror "Sanity check to keep you from breaking your system:" 194 eerror "Sanity check to keep you from breaking your system:"
195 eerror " Downgrading glibc is not supported and a sure way to destruction" 195 eerror " Downgrading glibc is not supported and a sure way to destruction"
196 die "aborting to save your system" 196 die "aborting to save your system"
197 fi 197 fi

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20