/[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.1 Revision 1.2
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.1 2008/03/23 18:06:17 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/Attic/glibc-2.7-r2.ebuild,v 1.2 2008/03/24 11:05:16 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"
9 9
10LICENSE="LGPL-2" 10LICENSE="LGPL-2"
11KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" 11KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
12RESTRICT="strip" # strip ourself #46186 12RESTRICT="strip" # strip ourself #46186
13EMULTILIB_PKG="true" 13EMULTILIB_PKG="true"
14
15[[ ${CTARGET} == hppa* ]] && NPTL_KERN_VER=${NPTL_KERN_VER:-2.6.20}
16 14
17# Configuration variables 15# Configuration variables
18RELEASE_VER=$(get_version_component_range 1-3) # major glibc version 16RELEASE_VER=$(get_version_component_range 1-3) # major glibc version
19BRANCH_UPDATE=$(get_version_component_range 4) # upstream cvs snaps 17BRANCH_UPDATE=$(get_version_component_range 4) # upstream cvs snaps
20MANPAGE_VER="" # pregenerated manpages 18MANPAGE_VER="" # pregenerated manpages
48if [[ ${CTARGET} == ${CHOST} ]] ; then 46if [[ ${CTARGET} == ${CHOST} ]] ; then
49 if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then 47 if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
50 export CTARGET=${CATEGORY/cross-} 48 export CTARGET=${CATEGORY/cross-}
51 fi 49 fi
52fi 50fi
51
52[[ ${CTARGET} == hppa* ]] && NPTL_KERN_VER=${NPTL_KERN_VER/2.6.9/2.6.20}
53 53
54is_crosscompile() { 54is_crosscompile() {
55 [[ ${CHOST} != ${CTARGET} ]] 55 [[ ${CHOST} != ${CTARGET} ]]
56} 56}
57alt_libdir() { 57alt_libdir() {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20