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

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

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

Revision 1.3 Revision 1.4
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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/glibc-2.15-r2.ebuild,v 1.3 2012/06/01 17:49:17 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.15-r2.ebuild,v 1.4 2012/06/01 18:03:35 vapier Exp $
4 4
5inherit eutils versionator libtool toolchain-funcs flag-o-matic gnuconfig multilib unpacker 5inherit eutils versionator libtool toolchain-funcs flag-o-matic gnuconfig multilib unpacker
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"
214 nscd/Makefile \ 214 nscd/Makefile \
215 || die "Failed to ensure nscd builds with ssp-all" 215 || die "Failed to ensure nscd builds with ssp-all"
216 fi 216 fi
217} 217}
218 218
219eblit-pkg_preinst-post() {
220 if [[ ${CTARGET} == arm* ]] ; then
221 # Backwards compat support for renaming hardfp ldsos #417287
222 local oldso='/lib/ld-linux.so.3'
223 local nldso='/lib/ld-linux-armhf.so.3'
224 if [[ -e ${D}${nldso} ]] ; then
225 if scanelf -qRyi "${ROOT}$(alt_prefix)"/*bin/ | grep -s "^${oldso}" ; then
226 ewarn "Symlinking old ldso (${oldso}) to new ldso (${nldso})."
227 ewarn "Please rebuild all packages using this old ldso as compat"
228 ewarn "support will be dropped in the future."
229 ln -s "${nldso##*/}" "${D}$(alt_prefix)${oldso}"
230 fi
231 fi
232 fi
233}
234
219maint_pkg_create() { 235maint_pkg_create() {
220 local base="/usr/local/src/gnu/glibc/glibc-${PV:0:1}_${PV:2:1}" 236 local base="/usr/local/src/gnu/glibc/glibc-${PV:0:1}_${PV:2:1}"
221 cd ${base} 237 cd ${base}
222 local stamp=$(date +%Y%m%d) 238 local stamp=$(date +%Y%m%d)
223 local d 239 local d

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

  ViewVC Help
Powered by ViewVC 1.1.20