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

Diff of /sys-libs/glibc/glibc-2.8_p20080602.ebuild

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

Revision 1.3 Revision 1.4
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.8_p20080602.ebuild,v 1.3 2008/06/21 06:05:54 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/Attic/glibc-2.8_p20080602.ebuild,v 1.4 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"
319 # simple test to make sure our new glibc isnt completely broken. 319 # simple test to make sure our new glibc isnt completely broken.
320 # make sure we don't test with statically built binaries since 320 # make sure we don't test with statically built binaries since
321 # they will fail. also, skip if this glibc is a cross compiler. 321 # they will fail. also, skip if this glibc is a cross compiler.
322 [[ ${ROOT} != "/" ]] && return 0 322 [[ ${ROOT} != "/" ]] && return 0
323 [[ -d ${D}/$(get_libdir) ]] || return 0 323 [[ -d ${D}/$(get_libdir) ]] || return 0
324 cd / #228809
324 local x striptest 325 local x striptest
325 for x in date env ls true uname ; do 326 for x in date env ls true uname ; do
326 x=$(type -p ${x}) 327 x=$(type -p ${x})
327 [[ -z ${x} ]] && continue 328 [[ -z ${x} ]] && continue
328 striptest=$(LC_ALL="C" file -L ${x} 2>/dev/null) 329 striptest=$(LC_ALL="C" file -L ${x} 2>/dev/null)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20