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

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.20