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

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

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

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

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20