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

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

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

Revision 1.7 Revision 1.8
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-r2.ebuild,v 1.7 2008/06/21 06:52:14 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/Attic/glibc-2.7-r2.ebuild,v 1.8 2008/06/22 01:26:33 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"
289 # simple test to make sure our new glibc isnt completely broken. 289 # simple test to make sure our new glibc isnt completely broken.
290 # make sure we don't test with statically built binaries since 290 # make sure we don't test with statically built binaries since
291 # they will fail. also, skip if this glibc is a cross compiler. 291 # they will fail. also, skip if this glibc is a cross compiler.
292 [[ ${ROOT} != "/" ]] && return 0 292 [[ ${ROOT} != "/" ]] && return 0
293 [[ -d ${D}/$(get_libdir) ]] || return 0 293 [[ -d ${D}/$(get_libdir) ]] || return 0
294 cd / #228809
294 local x striptest 295 local x striptest
295 for x in date env ls true uname ; do 296 for x in date env ls true uname ; do
296 x=$(type -p ${x}) 297 x=$(type -p ${x})
297 [[ -z ${x} ]] && continue 298 [[ -z ${x} ]] && continue
298 striptest=$(LC_ALL="C" file -L ${x} 2>/dev/null) 299 striptest=$(LC_ALL="C" file -L ${x} 2>/dev/null)

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20