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

Diff of /sys-libs/glibc/glibc-2.7-r1.ebuild

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

Revision 1.9 Revision 1.10
1# Copyright 1999-2008 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.7-r1.ebuild,v 1.9 2008/02/10 00:24:29 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/Attic/glibc-2.7-r1.ebuild,v 1.10 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"
188} 188}
189 189
190pkg_setup() { 190pkg_setup() {
191 # prevent native builds from downgrading ... maybe update to allow people 191 # prevent native builds from downgrading ... maybe update to allow people
192 # to change between diff -r versions ? (2.3.6-r4 -> 2.3.6-r2) 192 # to change between diff -r versions ? (2.3.6-r4 -> 2.3.6-r2)
193 if [[ ${ROOT} != "/" ]] && ! tc-is-cross-compiler ; then 193 if [[ ${ROOT} == "/" ]] && [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then
194 if has_version '>'${CATEGORY}/${PF} ; then 194 if has_version '>'${CATEGORY}/${PF} ; then
195 eerror "Sanity check to keep you from breaking your system:" 195 eerror "Sanity check to keep you from breaking your system:"
196 eerror " Downgrading glibc is not supported and a sure way to destruction" 196 eerror " Downgrading glibc is not supported and a sure way to destruction"
197 die "aborting to save your system" 197 die "aborting to save your system"
198 fi 198 fi

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20