# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.2-r12.ebuild,v 1.5 2005/01/05 01:53:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.2-r12.ebuild,v 1.6 2005/01/14 02:51:58 vapier Exp $
inherit eutils flag-o-matic gcc
export MIN_NPTL_KV="2.6.0"
# (very) Theoretical cross-compiler support
-export CTARGET="${CTARGET:-${CHOST}}"
+export CTARGET=${CTARGET:-${CHOST}}
if [[ ${CTARGET} = ${CHOST} ]] ; then
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
- export CTARGET="${CATEGORY/cross-}"
+ export CTARGET=${CATEGORY/cross-}
fi
fi
# now, strip everything but the thread libs #46186
mkdir ${T}/thread-backup
mv ${D}/lib/lib{pthread,thread_db}* ${T}/thread-backup/
- env -uRESTRICT prepallstrip
+ env -uRESTRICT CHOST=${CTARGET} prepallstrip
mv ${T}/thread-backup/* ${D}/lib/
# If librt.so is a symlink, change it into linker script (Redhat)
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20040619-r2.ebuild,v 1.6 2005/01/12 05:17:16 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20040619-r2.ebuild,v 1.7 2005/01/14 02:51:58 vapier Exp $
inherit eutils flag-o-matic gcc
LICENSE="LGPL-2"
SLOT="2.2"
KEYWORDS="-* ~x86 mips amd64 ~hppa ~ppc ~ia64"
-IUSE="userlocales pic build nptl erandom hardened makecheck multilib debug n32 n64"
+IUSE="userlocales pic build nptl erandom hardened test multilib debug n32 n64"
RESTRICT="nostrip" # we'll handle stripping ourself #46186
# We need new cleanup attribute support from gcc for NPTL among things ...
}
-do_makecheck() {
+do_test() {
ATIME=`mount | awk '{ print $3,$6 }' | grep ^\/\ | grep noatime`
if [ "$ATIME" = "" ]; then
cd ${WORKDIR}/build
setup_locales() {
- if use !userlocales || use makecheck; then
- einfo "makecheck in USE or userlocales not enabled, installing -ALL- locales..."
+ if use !userlocales || use test; then
+ einfo "test in USE or userlocales not enabled, installing -ALL- locales..."
install_locales || die
elif [ -e /etc/locales.build ]; then
einfo "Installing locales in /etc/locales.build..."
fi
echo
- hasq sandbox $FEATURES && use makecheck && die "sandbox breaks make check. either take makecheck out of USE or set FEATURES=-sandbox"
+ hasq sandbox $FEATURES && use test && die "sandbox breaks make check. either take test out of USE or set FEATURES=-sandbox"
}
insinto /etc
doins ${FILESDIR}/locales.build
- if use makecheck; then
+ if use test; then
local OLD_SANDBOX_ON="${SANDBOX_ON}"
# make check will fail if sandbox is enabled. Do not do it
# globally though, else we might fail to find sandbox violations ...
SANDBOX_ON="0"
- do_makecheck
+ do_test
SANDBOX_ON="${OLD_SANDBOX_ON}"
fi
}
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20040808-r1.ebuild,v 1.32 2005/01/12 12:24:10 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20040808-r1.ebuild,v 1.33 2005/01/14 02:51:58 vapier Exp $
inherit eutils multilib flag-o-matic gcc versionator
MIN_KERNEL_VERSION="2.6.5"
# (very) Theoretical cross-compiler support
-export CTARGET="${CTARGET:-${CHOST}}"
+export CTARGET=${CTARGET:-${CHOST}}
if [[ ${CTARGET} = ${CHOST} ]] ; then
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
- export CTARGET="${CATEGORY/cross-}"
+ export CTARGET=${CATEGORY/cross-}
fi
fi
# now, strip everything but the thread libs #46186
mkdir -p ${T}/thread-backup
mv ${D}/$(alt_libdir)/lib{pthread,thread_db}* ${T}/thread-backup/
- env -uRESTRICT prepallstrip
+ env -uRESTRICT CHOST=${CTARGET} prepallstrip
# this directory can be empty in certain cases so || die is wrong
ls ${T}/thread-backup/* 1>/dev/null 2>&1 && mv -f ${T}/thread-backup/* ${D}/$(alt_libdir)/
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20041102.ebuild,v 1.27 2005/01/12 12:25:14 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20041102.ebuild,v 1.28 2005/01/14 02:51:58 vapier Exp $
inherit eutils multilib flag-o-matic gcc versionator
MIN_KERNEL_VERSION="2.6.5"
# (very) Theoretical cross-compiler support
-export CTARGET="${CTARGET:-${CHOST}}"
+export CTARGET=${CTARGET:-${CHOST}}
if [[ ${CTARGET} = ${CHOST} ]] ; then
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
- export CTARGET="${CATEGORY/cross-}"
+ export CTARGET=${CATEGORY/cross-}
fi
fi
mkdir -p ${T}/thread-backup/tls
mv ${D}/$(alt_libdir)/tls/lib{pthread,thread_db}* ${T}/thread-backup/tls
fi
- env -uRESTRICT prepallstrip
+ env -uRESTRICT CHOST=${CTARGET} prepallstrip
cp -R -- ${T}/thread-backup/* ${D}/$(alt_libdir)/ || die
# If librt.so is a symlink, change it into linker script (Redhat)